Checkstyle Results

The following document contains the results of Checkstyle 10.5.1-SNAPSHOT with /home/nick/development/contribution/checkstyle-tester/split-check-files/sevntu-check-regression_part_2.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
4138 0 19127 0

Rules

Category Rule Violations Severity

Details

elasticsearch/src/main/java/jsr166e/DoubleAdder.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 53
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 53
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 62
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 62
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 62
 Warning extension MoveVariableInsideIf Variable 'v' can be moved inside the block at line '63' to restrict runtime creation. 62
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 62
 Warning extension MoveVariableInsideIf Variable 'hc' can be moved inside the block at line '63' to restrict runtime creation. 62
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 62
 Warning extension MoveVariableInsideIf Variable 'a' can be moved inside the block at line '63' to restrict runtime creation. 62
 Warning extension MoveVariableInsideIf Variable 'n' can be moved inside the block at line '63' to restrict runtime creation. 62

elasticsearch/src/main/java/jsr166e/DoubleMaxUpdater.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 35
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 49
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 60
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 60
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 60
 Warning extension MoveVariableInsideIf Variable 'v' can be moved inside the block at line '61' to restrict runtime creation. 60
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 60
 Warning extension MoveVariableInsideIf Variable 'hc' can be moved inside the block at line '61' to restrict runtime creation. 60
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 60
 Warning extension MoveVariableInsideIf Variable 'a' can be moved inside the block at line '61' to restrict runtime creation. 60
 Warning extension MoveVariableInsideIf Variable 'n' can be moved inside the block at line '61' to restrict runtime creation. 60

elasticsearch/src/main/java/jsr166e/LongAdder.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 49
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 49
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 58
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 58
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 58
 Warning extension MoveVariableInsideIf Variable 'v' can be moved inside the block at line '59' to restrict runtime creation. 58
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 58
 Warning extension MoveVariableInsideIf Variable 'hc' can be moved inside the block at line '59' to restrict runtime creation. 58
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 58
 Warning extension MoveVariableInsideIf Variable 'a' can be moved inside the block at line '59' to restrict runtime creation. 58
 Warning extension MoveVariableInsideIf Variable 'n' can be moved inside the block at line '59' to restrict runtime creation. 58

elasticsearch/src/main/java/jsr166e/LongMaxUpdater.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 41
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 51
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 51
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 51
 Warning extension MoveVariableInsideIf Variable 'v' can be moved inside the block at line '52' to restrict runtime creation. 51
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 51
 Warning extension MoveVariableInsideIf Variable 'hc' can be moved inside the block at line '52' to restrict runtime creation. 51
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 51
 Warning extension MoveVariableInsideIf Variable 'a' can be moved inside the block at line '52' to restrict runtime creation. 51
 Warning extension MoveVariableInsideIf Variable 'n' can be moved inside the block at line '52' to restrict runtime creation. 51

elasticsearch/src/main/java/jsr166e/Striped64.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 88
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 90
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 99
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 106
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 205
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 206
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 206
 Warning extension MoveVariableInsideIf Variable 'a' can be moved inside the block at line '207' to restrict runtime creation. 206
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 206
 Warning extension MoveVariableInsideIf Variable 'r' can be moved inside the block at line '211' to restrict runtime creation. 210
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 214
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 214
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 296
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 297
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 298
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 307
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 337

elasticsearch/src/main/java/org/apache/lucene/analysis/PrefixAnalyzer.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'PrefixAnalyzer' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 61
 Warning extension MultipleStringLiteralsExtended The String "one or more prefixes needed" appears 2 times in the file. 101
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 108
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 117

elasticsearch/src/main/java/org/apache/lucene/analysis/miscellaneous/UniqueTokenFilter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'incrementToken' method is 2 (max allowed is 1). 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 66

elasticsearch/src/main/java/org/apache/lucene/index/TrackingConcurrentMergeScheduler.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'TrackingConcurrentMergeScheduler' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 54
 Warning extension MultipleStringLiteralsExtended The String "_na_" appears 2 times in the file. 103

elasticsearch/src/main/java/org/apache/lucene/queries/BlendedTermQuery.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 199
 Warning extension ReturnCountExtended Return count for 'topLevelQuery' method is 3 (max allowed is 1). 258
 Warning extension MoveVariableInsideIf Variable 'query' can be moved inside the block at line '282' to restrict runtime creation. 259

elasticsearch/src/main/java/org/apache/lucene/queries/ExtendedCommonTermsQuery.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 47
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 66
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 70
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 74
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 78

elasticsearch/src/main/java/org/apache/lucene/queryparser/classic/MapperQueryParser.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'reset' is called in constructor body. 90
 Warning extension ReturnCountExtended Return count for 'getFieldQuery' method is 6 (max allowed is 1). 165
 Warning extension ReturnCountExtended Return count for 'getFieldQuerySingle' method is 4 (max allowed is 1). 208
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 255
 Warning extension ReturnCountExtended Return count for 'getFieldQuery' method is 5 (max allowed is 1). 285
 Warning extension ReturnCountExtended Return count for 'getRangeQuery' method is 6 (max allowed is 1). 324
 Warning extension MultipleStringLiteralsExtended The String "*" appears 6 times in the file. 325
 Warning extension ReturnCountExtended Return count for 'getRangeQuerySingle' method is 2 (max allowed is 1). 373
 Warning extension ReturnCountExtended Return count for 'getFuzzyQuery' method is 5 (max allowed is 1). 399
 Warning extension ReturnCountExtended Return count for 'getPrefixQuery' method is 6 (max allowed is 1). 469
 Warning extension ReturnCountExtended Return count for 'getPrefixQuerySingle' method is 3 (max allowed is 1). 511
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 525
 Warning extension ReturnCountExtended Return count for 'getPossiblyAnalyzedPrefixQuery' method is 3 (max allowed is 1). 552
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 567
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 594
 Warning extension ReturnCountExtended Return count for 'getWildcardQuery' method is 9 (max allowed is 1). 604
 Warning extension ReturnCountExtended Return count for 'getWildcardQuerySingle' method is 3 (max allowed is 1). 663
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 694
 Warning extension MoveVariableInsideIf Variable 'termAtt' can be moved inside the block at line '705' to restrict runtime creation. 704
 Warning extension MoveVariableInsideIf Variable 'termAtt' can be moved inside the block at line '735' to restrict runtime creation. 734
 Warning extension ReturnCountExtended Return count for 'getRegexpQuery' method is 6 (max allowed is 1). 757
 Warning extension ReturnCountExtended Return count for 'getRegexpQuerySingle' method is 3 (max allowed is 1). 799
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 813

elasticsearch/src/main/java/org/apache/lucene/search/postingshighlight/CustomPostingsHighlighter.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 70
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 99
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 100
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 174
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 174

elasticsearch/src/main/java/org/apache/lucene/search/postingshighlight/Snippet.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 47

elasticsearch/src/main/java/org/apache/lucene/search/postingshighlight/XPostingsHighlighter.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 78
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 83
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 92
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 403
 Warning extension ReturnCountExtended Return count for 'highlightDoc' method is 2 (max allowed is 1). 439
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 464
 Warning extension MultipleStringLiteralsExtended The String "field '" appears 2 times in the file. 477
 Warning extension MultipleStringLiteralsExtended The String "' was indexed without offsets, cannot highlight" appears 2 times in the file. 477
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 514
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 600
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 625
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 680

elasticsearch/src/main/java/org/apache/lucene/search/suggest/analyzing/XAnalyzingSuggester.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 135
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 140
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 148
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 172
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 173
 Warning extension MultipleStringLiteralsExtended The String ")" appears 4 times in the file. 239
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 396
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 397
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 398
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 399
 Warning extension ReturnCountExtended Return count for 'compare' method is 4 (max allowed is 1). 402
 Warning extension MultipleStringLiteralsExtended The String " in length (got " appears 2 times in the file. 479
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 556
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 609
 Warning extension ReturnCountExtended Return count for 'lookup' method is 3 (max allowed is 1). 719
 Warning extension MoveVariableInsideIf Variable 'bytesReader' can be moved inside the block at line '761' to restrict runtime creation. 753
 Warning extension MoveVariableInsideIf Variable 'scratchArc' can be moved inside the block at line '761' to restrict runtime creation. 755
 Warning extension ReturnCountExtended Return count for 'acceptResult' method is 3 (max allowed is 1). 826
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 835
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'SurfaceFormAndPayload' does not extend anything. 1032
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1053
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1078

elasticsearch/src/main/java/org/apache/lucene/search/suggest/analyzing/XFuzzySuggester.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 105
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 164
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 194
 Warning extension ReturnCountExtended Return count for 'toLevenshteinAutomata' method is 3 (max allowed is 1). 223

elasticsearch/src/main/java/org/apache/lucene/search/vectorhighlight/CustomFieldQuery.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 92
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 118

elasticsearch/src/main/java/org/apache/lucene/store/StoreRateLimiting.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 62
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 66

elasticsearch/src/main/java/org/apache/lucene/store/StoreUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ")" appears 4 times in the file. 32

elasticsearch/src/main/java/org/apache/lucene/util/XIOUtils.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 93
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 125
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 199
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 224
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 261

elasticsearch/src/main/java/org/elasticsearch/Build.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "NA" appears 4 times in the file. 39
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 55

elasticsearch/src/main/java/org/elasticsearch/ElasticsearchException.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 127
 Warning extension ReturnCountExtended Return count for 'contains' method is 4 (max allowed is 1). 138

elasticsearch/src/main/java/org/elasticsearch/ExceptionsHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'detailedMessage' method is 2 (max allowed is 1). 85
 Warning extension MoveVariableInsideIf Variable 'counter' can be moved inside the block at line '90' to restrict runtime creation. 89
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 97

elasticsearch/src/main/java/org/elasticsearch/Version.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 155
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 157
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 159
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 161
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 163
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 165
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 167
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 169
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 171
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 173
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 175
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 177
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 179
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 181
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 183
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 185
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 187
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 189
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 191
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 193
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 195
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 197
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 199
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 201
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 203
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 205
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 207
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 209
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 211
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 213
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 215
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 217
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 219
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 221
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 223
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 225
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 227
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 229
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 231
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 237
 Warning extension ReturnCountExtended Return count for 'fromId' method is 91 (max allowed is 1). 244
 Warning extension ReturnCountExtended Return count for 'fromString' method is 2 (max allowed is 1). 473
 Warning extension MultipleStringLiteralsExtended The String "-SNAPSHOT" appears 2 times in the file. 478
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 489
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 516
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 517
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 518
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 519
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 520
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 521
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 522
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 524
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 526
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 562

elasticsearch/src/main/java/org/elasticsearch/action/ActionRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ActionRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 36

elasticsearch/src/main/java/org/elasticsearch/action/ActionRequestBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 38

elasticsearch/src/main/java/org/elasticsearch/action/RoutingMissingException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]/[" appears 2 times in the file. 37

elasticsearch/src/main/java/org/elasticsearch/action/WriteConsistencyLevel.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No write consistency match [" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 56

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterHealthResponse.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 104 position 77 need optimization. All method calls are advised to move to end of logic expression. 104
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 2 times in the file. 284

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterIndexHealth.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 123 position 77 need optimization. All method calls are advised to move to end of logic expression. 123
 Warning extension MultipleStringLiteralsExtended The String "shards" appears 2 times in the file. 243

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/health/ClusterShardHealth.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 55

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/health/TransportClusterHealthAction.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'validationPredicate' can be moved inside the block at line '161' to restrict runtime creation. 134

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/node/hotthreads/TransportNodesHotThreadsAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 99

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/node/info/PluginInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 111

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/node/info/PluginsInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 34

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/node/restart/TransportNodesRestartAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 128
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 137

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/node/shutdown/TransportNodesShutdownAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Shutdown is disabled" appears 2 times in the file. 107
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 223
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 261
 Warning extension MultipleStringLiteralsExtended The String "Failed to shutdown" appears 2 times in the file. 262
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 273
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 281

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/repositories/put/PutRepositoryRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 170

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/repositories/verify/TransportVerifyRepositoryAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 45

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/reroute/ClusterRerouteRequest.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 45
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 105

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/settings/ClusterUpdateSettingsRequest.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 49
 Warning extension MultipleStringLiteralsExtended The String "Failed to generate [" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 103

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/settings/TransportClusterUpdateSettingsAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "failed to perform [{}]" appears 2 times in the file. 162
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 185

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/shards/ClusterSearchShardsResponse.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/create/CreateSnapshotRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 323
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 421

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/get/TransportGetSnapshotsAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 93

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/restore/RestoreSnapshotRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Failed to generate [" appears 2 times in the file. 362
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 362
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 495
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 586

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/SnapshotIndexStatus.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 68

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/TransportNodesSnapshotsStatus.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 124
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 135
 Warning extension MultipleStringLiteralsExtended The String "shouldn't be here" appears 2 times in the file. 164

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/status/TransportSnapshotsStatusAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 122
 Warning extension MultipleStringLiteralsExtended The String "Unknown snapshot state " appears 2 times in the file. 188
 Warning extension MoveVariableInsideIf Variable 'shardStatusBuilder' can be moved inside the block at line '207' to restrict runtime creation. 206

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateRequest.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 45

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/state/ClusterStateResponse.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 46

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsIndices.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 242

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsNodes.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "count" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "versions" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "total" appears 2 times in the file. 284
 Warning extension MultipleStringLiteralsExtended The String "mem" appears 2 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "cpu" appears 2 times in the file. 371

elasticsearch/src/main/java/org/elasticsearch/action/admin/cluster/tasks/PendingClusterTasksResponse.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 69

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/alias/IndicesAliasesRequest.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 62
 Warning extension MultipleStringLiteralsExtended The String "Alias action [" appears 6 times in the file. 293

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/alias/get/GetAliasesRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 46

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/analyze/TransportAnalyzeAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 9 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "failed to find token filter under [" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "failed to find token char under [" appears 2 times in the file. 205
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 282
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 291

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/cache/clear/TransportClearIndicesCacheAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "api" appears 6 times in the file. 126

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/create/CreateIndexRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 123
 Warning extension MultipleStringLiteralsExtended The String "Failed to generate [" appears 3 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "mappings for type \"" appears 3 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "\" were already defined" appears 3 times in the file. 224
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 415

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/create/TransportCreateIndexAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[{}] failed to create" appears 2 times in the file. 95

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/delete/DeleteIndexRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 56

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 85
 Warning extension MoveVariableInsideIf Variable 'indices' can be moved inside the block at line '216' to restrict runtime creation. 214

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexResponse.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 213

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/GetFieldMappingsResponse.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "mapping" appears 2 times in the file. 119

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsAction.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'indexCounter' can be moved inside the block at line '64' to restrict runtime creation. 58
 Warning extension MoveVariableInsideIf Variable 'completionCounter' can be moved inside the block at line '64' to restrict runtime creation. 59
 Warning extension MoveVariableInsideIf Variable 'indexResponses' can be moved inside the block at line '64' to restrict runtime creation. 60

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/mapping/get/TransportGetFieldMappingsIndexAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 136
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 143

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/mapping/put/PutMappingRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "malformed " appears 2 times in the file. 173
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 205

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/segments/IndexSegments.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 61

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/settings/get/GetSettingsResponse.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'settings' can be moved inside the block at line '51' to restrict runtime creation. 50

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/settings/put/UpdateSettingsClusterStateUpdateRequest.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 32

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/stats/CommonStats.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unknown Flag: " appears 2 times in the file. 124
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 198
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 201
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 204
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 207
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 210
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 213
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 216
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 219
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 222
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 225
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 228
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 231
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 234
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 237
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 240
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 243
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 246
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 249
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 252

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/stats/CommonStatsFlags.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'clear' is called in constructor body. 49
 Warning extension LogicConditionNeedOptimization Condition with && at line 173 position 57 need optimization. All method calls are advised to move to end of logic expression. 173
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 176

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexShardStats.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 77

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/stats/IndexStats.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 91

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/stats/IndicesStatsResponse.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 109
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 123
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 4 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "shards" appears 4 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "primaries" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "total" appears 2 times in the file. 171

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/status/IndexShardStatus.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 114
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 121

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/status/IndexStatus.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 126

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/template/put/PutIndexTemplateRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Failed to generate [" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 177
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 263
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 302
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 316
 Warning extension MultipleStringLiteralsExtended The String "failed to parse template source" appears 2 times in the file. 335
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 421

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/validate/query/ValidateQueryRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 107
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 217

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/warmer/delete/DeleteWarmerResponse.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'DeleteWarmerResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 33

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/warmer/delete/TransportDeleteWarmerAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 111

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/warmer/put/PutWarmerResponse.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'PutWarmerResponse' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 34

elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/warmer/put/TransportPutWarmerAction.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 146

elasticsearch/src/main/java/org/elasticsearch/action/bulk/BulkItemResponse.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 130

elasticsearch/src/main/java/org/elasticsearch/action/bulk/BulkProcessor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 152
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 153
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 155
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 157
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 158
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 160
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 162
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 164
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 166
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 168
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 170
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 172
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 317
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 350

elasticsearch/src/main/java/org/elasticsearch/action/bulk/BulkRequest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 60
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 257
 Warning extension MultipleStringLiteralsExtended The String "create" appears 2 times in the file. 348

elasticsearch/src/main/java/org/elasticsearch/action/bulk/BulkResponse.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 92

elasticsearch/src/main/java/org/elasticsearch/action/bulk/TransportBulkAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Parsed unknown request in bulk actions: " appears 2 times in the file. 113
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 134
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 154
 Warning extension ReturnCountExtended Return count for 'setResponseFailureIfIndexMatches' method is 2 (max allowed is 1). 171
 Warning extension MultipleStringLiteralsExtended The String "index" appears 5 times in the file. 175
 Warning extension MoveVariableInsideIf Variable 'concreteIndex' can be moved inside the block at line '229' to restrict runtime creation. 228
 Warning extension ReturnCountExtended Return count for 'addFailureIfIndexIsUnavailable' method is 2 (max allowed is 1). 366

elasticsearch/src/main/java/org/elasticsearch/action/bulk/TransportShardBulkAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 75
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 166
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 168
 Warning extension MultipleStringLiteralsExtended The String "{} failed to execute bulk item (index) {}" appears 4 times in the file. 184
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 207
 Warning extension MultipleStringLiteralsExtended The String "{} failed to execute bulk item (delete) {}" appears 4 times in the file. 217
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 236
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 240
 Warning extension MoveVariableInsideIf Variable 'indexSourceAsBytes' can be moved inside the block at line '254' to restrict runtime creation. 250
 Warning extension MultipleStringLiteralsExtended The String "refresh_flag_bulk" appears 2 times in the file. 357
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 358
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 445
 Warning extension ReturnCountExtended Return count for 'shardUpdateOperation' method is 5 (max allowed is 1). 522
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 531
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 544
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 610

elasticsearch/src/main/java/org/elasticsearch/action/count/CountRequest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 62
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 142
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 278

elasticsearch/src/main/java/org/elasticsearch/action/count/TransportCountAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 206

elasticsearch/src/main/java/org/elasticsearch/action/delete/DeleteRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "][" appears 2 times in the file. 247

elasticsearch/src/main/java/org/elasticsearch/action/delete/IndexDeleteResponse.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 73
 Warning extension MultipleStringLiteralsExtended The String "IndexDeleteResponse is not supposed to be sent over the transport" appears 2 times in the file. 79

elasticsearch/src/main/java/org/elasticsearch/action/delete/ShardDeleteRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 100

elasticsearch/src/main/java/org/elasticsearch/action/delete/TransportDeleteAction.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveRequest' method is 2 (max allowed is 1). 104
 Warning extension MultipleStringLiteralsExtended The String "refresh_flag_delete" appears 2 times in the file. 182
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 183
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 203

elasticsearch/src/main/java/org/elasticsearch/action/delete/TransportShardDeleteAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "refresh_flag_delete" appears 2 times in the file. 94
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 95
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 121

elasticsearch/src/main/java/org/elasticsearch/action/deletebyquery/DeleteByQueryRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 132
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 222

elasticsearch/src/main/java/org/elasticsearch/action/deletebyquery/ShardDeleteByQueryRequest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 180

elasticsearch/src/main/java/org/elasticsearch/action/exists/ExistsRequest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 46
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 161
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 244

elasticsearch/src/main/java/org/elasticsearch/action/exists/TransportExistsAction.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 158
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 197

elasticsearch/src/main/java/org/elasticsearch/action/explain/TransportExplainAction.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'shardOperation' method is 3 (max allowed is 1). 110
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 120

elasticsearch/src/main/java/org/elasticsearch/action/get/GetRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 130
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 245
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 337
 Warning extension MultipleStringLiteralsExtended The String "][" appears 2 times in the file. 353

elasticsearch/src/main/java/org/elasticsearch/action/get/MultiGetRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 85
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 321
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 3 times in the file. 417
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 421
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 442

elasticsearch/src/main/java/org/elasticsearch/action/get/MultiGetShardRequest.java

Severity Category Rule Message Line
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 81
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 222

elasticsearch/src/main/java/org/elasticsearch/action/get/TransportGetAction.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 81 position 55 need optimization. All method calls are advised to move to end of logic expression. 81

elasticsearch/src/main/java/org/elasticsearch/action/get/TransportMultiGetAction.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 67
 Warning extension MultipleStringLiteralsExtended The String "]/[" appears 2 times in the file. 77

elasticsearch/src/main/java/org/elasticsearch/action/get/TransportShardMultiGetAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 110

elasticsearch/src/main/java/org/elasticsearch/action/index/IndexRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Failed to generate" appears 5 times in the file. 413
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 621
 Warning extension LogicConditionNeedOptimization Condition with && at line 631 position 47 need optimization. All method calls are advised to move to end of logic expression. 631
 Warning extension MultipleStringLiteralsExtended The String "Can't specify parent if no parent field has been configured" appears 2 times in the file. 636
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 718
 Warning extension MultipleStringLiteralsExtended The String "][" appears 2 times in the file. 721

elasticsearch/src/main/java/org/elasticsearch/action/index/TransportIndexAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 105
 Warning extension MultipleStringLiteralsExtended The String "refresh_flag_index" appears 2 times in the file. 213
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 214
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 233
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 254

elasticsearch/src/main/java/org/elasticsearch/action/indexedscripts/delete/DeleteIndexedScriptRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 84
 Warning extension MultipleStringLiteralsExtended The String "][" appears 2 times in the file. 164

elasticsearch/src/main/java/org/elasticsearch/action/indexedscripts/get/GetIndexedScriptRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 81
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 89
 Warning extension MultipleStringLiteralsExtended The String "][" appears 2 times in the file. 195

elasticsearch/src/main/java/org/elasticsearch/action/indexedscripts/put/PutIndexedScriptRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'PutIndexedScriptRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 77
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'PutIndexedScriptRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 85
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'PutIndexedScriptRequest' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 96
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 114
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 121
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 370
 Warning extension MultipleStringLiteralsExtended The String "][" appears 2 times in the file. 373

elasticsearch/src/main/java/org/elasticsearch/action/indexedscripts/put/PutIndexedScriptRequestBuilder.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 212

elasticsearch/src/main/java/org/elasticsearch/action/mlt/MoreLikeThisRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 132
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 146
 Warning extension MultipleStringLiteralsExtended The String "%" appears 3 times in the file. 240

elasticsearch/src/main/java/org/elasticsearch/action/mlt/TransportMoreLikeThisAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 193
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 200
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 204

elasticsearch/src/main/java/org/elasticsearch/action/percolate/MultiPercolateRequest.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 68 position 38 need optimization. All method calls are advised to move to end of logic expression. 68
 Warning extension LogicConditionNeedOptimization Condition with && at line 71 position 43 need optimization. All method calls are advised to move to end of logic expression. 71
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 96
 Warning extension MoveVariableInsideIf Variable 'globalIndex' can be moved inside the block at line '186' to restrict runtime creation. 176
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "explicit index in multi percolate is not allowed" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "preference" appears 2 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "routing" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "ignore_unavailable" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "ignoreUnavailable" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "allow_no_indices" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "allowNoIndices" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "expand_wildcards" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "expandWildcards" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "open" appears 2 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "closed" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "No valid expand wildcard value [" appears 2 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 235

elasticsearch/src/main/java/org/elasticsearch/action/percolate/PercolateRequest.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 144
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 256

elasticsearch/src/main/java/org/elasticsearch/action/percolate/PercolateResponse.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 265

elasticsearch/src/main/java/org/elasticsearch/action/percolate/PercolateSourceBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 275

elasticsearch/src/main/java/org/elasticsearch/action/percolate/TransportMultiPercolateAction.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 165
 Warning extension MultipleStringLiteralsExtended The String "slot[" appears 3 times in the file. 264
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 271
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 295

elasticsearch/src/main/java/org/elasticsearch/action/percolate/TransportPercolateAction.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'reduce' method is 2 (max allowed is 1). 123
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 193

elasticsearch/src/main/java/org/elasticsearch/action/percolate/TransportShardMultiPercolateAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 106

elasticsearch/src/main/java/org/elasticsearch/action/search/MultiSearchRequest.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 87
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "explicit index in multi search is not allowed" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "types" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "expand_wildcards" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "expandWildcards" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "open" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "closed" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "No valid expand wildcard value [" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 158

elasticsearch/src/main/java/org/elasticsearch/action/search/MultiSearchResponse.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 125

elasticsearch/src/main/java/org/elasticsearch/action/search/ReduceSearchPhaseException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[reduce] " appears 2 times in the file. 31

elasticsearch/src/main/java/org/elasticsearch/action/search/SearchPhaseExecutionException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "{" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 78

elasticsearch/src/main/java/org/elasticsearch/action/search/SearchRequest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 90
 Warning extension MultipleStringLiteralsExtended The String "Failed to generate [" appears 2 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 300

elasticsearch/src/main/java/org/elasticsearch/action/search/SearchType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No search type for [" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 98

elasticsearch/src/main/java/org/elasticsearch/action/search/TransportSearchAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 92

elasticsearch/src/main/java/org/elasticsearch/action/search/TransportSearchScrollAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 76

elasticsearch/src/main/java/org/elasticsearch/action/search/type/TransportSearchDfsQueryAndFetchAction.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'failure' can be moved inside the block at line '141' to restrict runtime creation. 140

elasticsearch/src/main/java/org/elasticsearch/action/search/type/TransportSearchDfsQueryThenFetchAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 130
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 140

elasticsearch/src/main/java/org/elasticsearch/action/search/type/TransportSearchHelper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 93
 Warning extension MultipleStringLiteralsExtended The String "Malformed scrollId [" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 98
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 132

elasticsearch/src/main/java/org/elasticsearch/action/search/type/TransportSearchScrollQueryAndFetchAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Node [" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "] not available for scroll request [" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 133
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 192

elasticsearch/src/main/java/org/elasticsearch/action/search/type/TransportSearchScrollQueryThenFetchAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "query" appears 4 times in the file. 124
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 146
 Warning extension MultipleStringLiteralsExtended The String "Fetch failed" appears 2 times in the file. 147
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 164
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 189
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 247

elasticsearch/src/main/java/org/elasticsearch/action/search/type/TransportSearchScrollScanAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "total_hits" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "Node [" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "] not available for scroll request [" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 134
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 189

elasticsearch/src/main/java/org/elasticsearch/action/search/type/TransportSearchTypeAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 107
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 204
 Warning extension MultipleStringLiteralsExtended The String ": Failed to execute [" appears 5 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 211
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 242
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 253
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 256
 Warning extension MultipleStringLiteralsExtended The String "] lastShard [" appears 2 times in the file. 272
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 324
 Warning extension MultipleStringLiteralsExtended The String "failed to release context" appears 2 times in the file. 325
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 348

elasticsearch/src/main/java/org/elasticsearch/action/suggest/SuggestRequest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 169
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 172

elasticsearch/src/main/java/org/elasticsearch/action/suggest/TransportSuggestAction.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'shardOperation' method is 2 (max allowed is 1). 146
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 166

elasticsearch/src/main/java/org/elasticsearch/action/support/AbstractListenableActionFuture.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 121

elasticsearch/src/main/java/org/elasticsearch/action/support/AdapterActionFuture.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Future got interrupted" appears 2 times in the file. 47
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 73
 Warning extension MultipleStringLiteralsExtended The String "Failed execution" appears 2 times in the file. 88

elasticsearch/src/main/java/org/elasticsearch/action/support/AutoCreateIndex.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'shouldAutoCreate' method is 4 (max allowed is 1). 70

elasticsearch/src/main/java/org/elasticsearch/action/support/DestructiveOperations.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "action.destructive_requires_name" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "Wildcard expressions or all indices are not allowed" appears 3 times in the file. 58

elasticsearch/src/main/java/org/elasticsearch/action/support/HandledTransportAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 41
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 68
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 77

elasticsearch/src/main/java/org/elasticsearch/action/support/QuerySourceBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 51
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 72

elasticsearch/src/main/java/org/elasticsearch/action/support/TransportAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 76
 Warning extension MultipleStringLiteralsExtended The String "Error during transport action execution." appears 3 times in the file. 77
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 114
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 121
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 125
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 142
 Warning extension MultipleStringLiteralsExtended The String "proceed was called too many times" appears 2 times in the file. 169
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 171
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 211

elasticsearch/src/main/java/org/elasticsearch/action/support/broadcast/BroadcastShardOperationRequest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 39

elasticsearch/src/main/java/org/elasticsearch/action/support/broadcast/TransportBroadcastOperationAction.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'executor' is called in constructor body. 63
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 139
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 172
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 206
 Warning extension MultipleStringLiteralsExtended The String "{}: failed to execute [{}]" appears 2 times in the file. 231
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 253
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 308
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 317

elasticsearch/src/main/java/org/elasticsearch/action/support/master/TransportMasterNodeOperationAction.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'executor' is called in constructor body. 56
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 123
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 135
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 140
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 256
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 265

elasticsearch/src/main/java/org/elasticsearch/action/support/nodes/NodesOperationResponse.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 38

elasticsearch/src/main/java/org/elasticsearch/action/support/nodes/TransportNodesOperationAction.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'executor' is called in constructor body. 62
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 142
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 153
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 161
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 188
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 217
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 242
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 251

elasticsearch/src/main/java/org/elasticsearch/action/support/replication/IndexReplicationOperationRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "IndexReplicationOperationRequest is not supposed to be sent over the transport" appears 2 times in the file. 86

elasticsearch/src/main/java/org/elasticsearch/action/support/replication/IndicesReplicationOperationRequest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 43
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 49
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/action/support/replication/ShardReplicationOperationRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 144

elasticsearch/src/main/java/org/elasticsearch/action/support/replication/TransportIndexReplicationOperationAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 77
 Warning extension MoveVariableInsideIf Variable 'index' can be moved inside the block at line '106' to restrict runtime creation. 105
 Warning extension LogicConditionNeedOptimization Condition with && at line 124 position 62 need optimization. All method calls are advised to move to end of logic expression. 124

elasticsearch/src/main/java/org/elasticsearch/action/support/replication/TransportIndicesReplicationOperationAction.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'indexCounter' can be moved inside the block at line '85' to restrict runtime creation. 77
 Warning extension MoveVariableInsideIf Variable 'completionCounter' can be moved inside the block at line '85' to restrict runtime creation. 78
 Warning extension MoveVariableInsideIf Variable 'startTimeInMillis' can be moved inside the block at line '85' to restrict runtime creation. 80
 Warning extension MoveVariableInsideIf Variable 'routingMap' can be moved inside the block at line '85' to restrict runtime creation. 82
 Warning extension MoveVariableInsideIf Variable 'index' can be moved inside the block at line '106' to restrict runtime creation. 105
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 151
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 160

elasticsearch/src/main/java/org/elasticsearch/action/support/replication/TransportShardReplicationOperationAction.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'executor' is called in constructor body. 86
 Warning extension OverridableMethodInConstructor Overridable method 'checkWriteConsistency' is called in constructor body. 87
 Warning extension OverridableMethodInConstructor Overridable method 'transportOptions' is called in constructor body. 92
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 211
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 220
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 336
 Warning extension MultipleStringLiteralsExtended The String "cluster is blocked ({}), scheduling a retry" appears 2 times in the file. 356
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 383
 Warning extension MultipleStringLiteralsExtended The String "No active shards." appears 2 times in the file. 391
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 397
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 423
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 431
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 517
 Warning extension MultipleStringLiteralsExtended The String ": Failed to execute [" appears 2 times in the file. 528
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 528
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 625
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 721
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 739
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 750
 Warning extension ReturnCountExtended Return count for 'raiseFailureIfHaveNotEnoughActiveShardCopies' method is 2 (max allowed is 1). 760
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 766
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 813
 Warning extension MultipleStringLiteralsExtended The String "ignoring failed replica [{}][{}] because index was already removed." appears 2 times in the file. 818

elasticsearch/src/main/java/org/elasticsearch/action/support/single/custom/SingleCustomOperationRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 98

elasticsearch/src/main/java/org/elasticsearch/action/support/single/custom/TransportSingleCustomOperationAction.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'executor' is called in constructor body. 66
 Warning extension LogicConditionNeedOptimization Condition with && at line 143 position 40 need optimization. All method calls are advised to move to end of logic expression. 143
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 144
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 163
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 174
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 196
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 208
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 250
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 259

elasticsearch/src/main/java/org/elasticsearch/action/support/single/instance/InstanceShardOperationRequest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69

elasticsearch/src/main/java/org/elasticsearch/action/support/single/instance/TransportInstanceSingleOperationAction.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'executor' is called in constructor body. 63
 Warning extension ReturnCountExtended Return count for 'doStart' method is 8 (max allowed is 1). 126
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 153
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 188
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 200
 Warning extension MultipleStringLiteralsExtended The String "], request: " appears 2 times in the file. 270
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 303
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 312

elasticsearch/src/main/java/org/elasticsearch/action/support/single/shard/SingleShardOperationRequest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(protected)'. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 83

elasticsearch/src/main/java/org/elasticsearch/action/support/single/shard/TransportShardSingleOperationAction.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'executor' is called in constructor body. 70
 Warning extension OverridableMethodInConstructor Overridable method 'isSubAction' is called in constructor body. 72
 Warning extension LogicConditionNeedOptimization Condition with && at line 159 position 40 need optimization. All method calls are advised to move to end of logic expression. 159
 Warning extension MultipleStringLiteralsExtended The String "{}: failed to execute [{}]" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "executing [{}] on shard [{}]" appears 2 times in the file. 186
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 197
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 206
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 264
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 273

elasticsearch/src/main/java/org/elasticsearch/action/termvector/MultiTermVectorsItemResponse.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 41

elasticsearch/src/main/java/org/elasticsearch/action/termvector/MultiTermVectorsRequest.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'token' can be moved inside the block at line '92' to restrict runtime creation. 90
 Warning extension MoveVariableInsideIf Variable 'currentFieldName' can be moved inside the block at line '92' to restrict runtime creation. 91
 Warning extension MultipleStringLiteralsExtended The String "No parameter named " appears 2 times in the file. 116

elasticsearch/src/main/java/org/elasticsearch/action/termvector/TermVectorFields.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 136
 Warning extension ReturnCountExtended Return count for 'next' method is 2 (max allowed is 1). 232
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 339
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 341
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 422
 Warning extension LogicConditionNeedOptimization Condition with && at line 432 position 38 need optimization. All method calls are advised to move to end of logic expression. 432

elasticsearch/src/main/java/org/elasticsearch/action/termvector/TermVectorRequest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 61
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 124
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 322
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 350
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 437
 Warning extension MultipleStringLiteralsExtended The String "Either \"id\" or \"doc\" can be specified, but not both!" appears 2 times in the file. 501

elasticsearch/src/main/java/org/elasticsearch/action/termvector/TermVectorResponse.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getFields' method is 2 (max allowed is 1). 149
 Warning extension ReturnCountExtended Return count for 'toXContent' method is 2 (max allowed is 1). 177
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 239
 Warning extension MoveVariableInsideIf Variable 'nextPos' can be moved inside the block at line '273' to restrict runtime creation. 272
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 310
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 311
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 320
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 321
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 3 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String " " appears 3 times in the file. 325
 Warning extension MoveVariableInsideIf Variable 'tvw' can be moved inside the block at line '353' to restrict runtime creation. 351
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 362

elasticsearch/src/main/java/org/elasticsearch/action/termvector/TermVectorWriter.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'foundTerm' can be moved inside the block at line '84' to restrict runtime creation. 82
 Warning extension MoveVariableInsideIf Variable 'curPos' can be moved inside the block at line '144' to restrict runtime creation. 143
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 174
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 175
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 183
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 208
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 224
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 227
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 230

elasticsearch/src/main/java/org/elasticsearch/action/termvector/TransportMultiTermVectorsAction.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 63
 Warning extension MultipleStringLiteralsExtended The String "]/[" appears 2 times in the file. 75

elasticsearch/src/main/java/org/elasticsearch/action/termvector/TransportSingleShardMultiTermsVectorAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 94

elasticsearch/src/main/java/org/elasticsearch/action/termvector/TransportSingleShardTermVectorAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/action/update/TransportUpdateAction.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 110
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 135

elasticsearch/src/main/java/org/elasticsearch/action/update/UpdateHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'prepare' method is 6 (max allowed is 1). 75
 Warning extension MoveVariableInsideIf Variable 'getDate' can be moved inside the block at line '220' to restrict runtime creation. 76
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 78
 Warning extension MultipleStringLiteralsExtended The String "op" appears 3 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "create" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 5 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "ctx" appears 2 times in the file. 97
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 101
 Warning extension MultipleStringLiteralsExtended The String "failed to execute script" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "none" appears 3 times in the file. 112
 Warning extension LogicConditionNeedOptimization Condition with && at line 176 position 37 need optimization. All method calls are advised to move to end of logic expression. 176
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "_ttl" appears 2 times in the file. 190
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 199

elasticsearch/src/main/java/org/elasticsearch/action/update/UpdateRequest.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'source' method is 2 (max allowed is 1). 582

elasticsearch/src/main/java/org/elasticsearch/bootstrap/Bootstrap.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 167
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 177
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 185
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 243
 Warning extension MoveVariableInsideIf Variable 'errorMessage' can be moved inside the block at line '249' to restrict runtime creation. 248

elasticsearch/src/main/java/org/elasticsearch/bootstrap/JVMCheck.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Please upgrade the JVM, see " appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String " for current recommendations." appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "https://bugs.openjdk.java.net/browse/JDK-8024830" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "-XX:-UseSuperWord" appears 3 times in the file. 102

elasticsearch/src/main/java/org/elasticsearch/bulk/udp/BulkUdpService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 141
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 182

elasticsearch/src/main/java/org/elasticsearch/cache/recycler/CacheRecycler.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 67
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 274
 Warning extension MultipleStringLiteralsExtended The String "no type support [" appears 2 times in the file. 274
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 313

elasticsearch/src/main/java/org/elasticsearch/cache/recycler/PageCacheRecycler.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 70
 Warning extension LogicConditionNeedOptimization Condition with && at line 153 position 27 need optimization. All method calls are advised to move to end of logic expression. 153
 Warning extension LogicConditionNeedOptimization Condition with && at line 161 position 27 need optimization. All method calls are advised to move to end of logic expression. 161
 Warning extension LogicConditionNeedOptimization Condition with && at line 169 position 27 need optimization. All method calls are advised to move to end of logic expression. 169
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 217

elasticsearch/src/main/java/org/elasticsearch/client/support/AbstractIndicesAdminClient.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 327

elasticsearch/src/main/java/org/elasticsearch/client/transport/TransportClient.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 275
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 284

elasticsearch/src/main/java/org/elasticsearch/client/transport/TransportClientNodesService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 113
 Warning extension ReturnCountExtended Return count for 'addTransportAddresses' method is 2 (max allowed is 1). 144
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 186
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'index'. 203
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 206
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 246
 Warning extension MultipleStringLiteralsExtended The String "Could not execute failure listener: [{}]" appears 2 times in the file. 267
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 332
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 352
 Warning extension MultipleStringLiteralsExtended The String "connecting to listed node (light) [{}]" appears 2 times in the file. 368
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 370
 Warning extension MultipleStringLiteralsExtended The String "node {} not part of the cluster {}, ignoring..." appears 2 times in the file. 386
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 388
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 397
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 441
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 475

elasticsearch/src/main/java/org/elasticsearch/cluster/ClusterInfo.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 42

elasticsearch/src/main/java/org/elasticsearch/cluster/ClusterModule.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 50

elasticsearch/src/main/java/org/elasticsearch/cluster/ClusterName.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.name" appears 2 times in the file. 34
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48

elasticsearch/src/main/java/org/elasticsearch/cluster/ClusterState.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 112
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 118
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 122
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 124
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 126
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 128
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 130
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 132
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 135
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 137
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 139
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 141
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 145
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "master_node" appears 2 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "blocks" appears 2 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "nodes" appears 3 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "metadata" appears 2 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "routing_table" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 3 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "settings" appears 2 times in the file. 386
 Warning extension MultipleStringLiteralsExtended The String "mappings" appears 2 times in the file. 394

elasticsearch/src/main/java/org/elasticsearch/cluster/ClusterStateObserver.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(protected)'. 38
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 51
 Warning extension MultipleStringLiteralsExtended The String "already waiting for a cluster state change" appears 2 times in the file. 109

elasticsearch/src/main/java/org/elasticsearch/cluster/DiskUsage.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 75

elasticsearch/src/main/java/org/elasticsearch/cluster/InternalClusterInfoService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 134
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 160
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 164
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 169
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 174
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 210
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 215
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 246
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 261
 Warning extension MultipleStringLiteralsExtended The String "Failed to execute NodeStatsAction for ClusterInfoUpdateJob" appears 2 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "Failed to execute IndicesStatsAction for ClusterInfoUpdateJob" appears 2 times in the file. 379
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 405
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 416

elasticsearch/src/main/java/org/elasticsearch/cluster/action/index/MappingUpdatedAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 92
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 102
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 107
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 112
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 116
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 121
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 127
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 133
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 138
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 143
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 203
 Warning extension MultipleStringLiteralsExtended The String "], type [" appears 2 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 261
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 370
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 377
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 420
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 441
 Warning extension LogicConditionNeedOptimization Condition with && at line 442 position 58 need optimization. All method calls are advised to move to end of logic expression. 442

elasticsearch/src/main/java/org/elasticsearch/cluster/action/index/NodeIndexDeletedAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[{}] not acking store deletion (not a data node)" appears 2 times in the file. 91

elasticsearch/src/main/java/org/elasticsearch/cluster/action/index/NodeMappingRefreshAction.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 115

elasticsearch/src/main/java/org/elasticsearch/cluster/action/shard/ShardStateAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "), reason [" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 139
 Warning extension ReturnCountExtended Return count for 'execute' method is 3 (max allowed is 1). 142
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 158
 Warning extension MultipleStringLiteralsExtended The String "unexpected failure during [{}]" appears 2 times in the file. 186
 Warning extension ReturnCountExtended Return count for 'execute' method is 4 (max allowed is 1). 210
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 229
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 274

elasticsearch/src/main/java/org/elasticsearch/cluster/block/ClusterBlock.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 157

elasticsearch/src/main/java/org/elasticsearch/cluster/block/ClusterBlockException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 54

elasticsearch/src/main/java/org/elasticsearch/cluster/block/ClusterBlocks.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 237

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/AliasAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 62

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/AliasMetaData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Failed to build json for alias request" appears 2 times in the file. 205
 Warning extension MoveVariableInsideIf Variable 'binary' can be moved inside the block at line '242' to restrict runtime creation. 240
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 4 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "index_routing" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "search_routing" appears 2 times in the file. 257
 Warning extension ReturnCountExtended Return count for 'fromXContent' method is 2 (max allowed is 1). 263

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/AliasValidator.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 88
 Warning extension MultipleStringLiteralsExtended The String "failed to parse filter for alias [" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 89
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 126
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 141

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/IndexMetaData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 113
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 118
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 119
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 121
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 155
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 156
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 157
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 158
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 160
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 161
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 162
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 164
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 165
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 166
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 167
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 168
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 169
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 171
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 172
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 174
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 176
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 178
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 180
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 182
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 184
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 186
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 187
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 188
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 190
 Warning extension OverridableMethodInConstructor Overridable method 'numberOfShards' is called in constructor body. 199
 Warning extension OverridableMethodInConstructor Overridable method 'numberOfReplicas' is called in constructor body. 199
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "state" appears 2 times in the file. 582
 Warning extension MultipleStringLiteralsExtended The String "settings" appears 2 times in the file. 586
 Warning extension MultipleStringLiteralsExtended The String "mappings" appears 3 times in the file. 592
 Warning extension MultipleStringLiteralsExtended The String "aliases" appears 2 times in the file. 612

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/IndexTemplateMetaData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "template" appears 3 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "order" appears 3 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "mappings" appears 5 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "settings" appears 3 times in the file. 165
 Warning extension OverridableMethodInConstructor Overridable method 'order' is called in constructor body. 193
 Warning extension MultipleStringLiteralsExtended The String "aliases" appears 2 times in the file. 313
 Warning extension MoveVariableInsideIf Variable 'mappingType' can be moved inside the block at line '369' to restrict runtime creation. 364

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/MappingMetaData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 153
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 171
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 172
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 179
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 182
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 184
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 186
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 188
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 190
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 192
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 194
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 196
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 265
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 322
 Warning extension MoveVariableInsideIf Variable 'fieldNode' can be moved inside the block at line '328' to restrict runtime creation. 327
 Warning extension MultipleStringLiteralsExtended The String "path" appears 3 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "_routing" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 2 times in the file. 353
 Warning extension LogicConditionNeedOptimization Condition with && at line 369 position 55 need optimization. All method calls are advised to move to end of logic expression. 369
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 386

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/MetaData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 128
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 130
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 132
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 134
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 136
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 138
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 140
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 141
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 145
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 146
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 147
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 148
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 150
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 151
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 154
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 155
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 156
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 158
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 159
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 161
 Warning extension ReturnCountExtended Return count for 'hasAliases' method is 2 (max allowed is 1). 339
 Warning extension MoveVariableInsideIf Variable 'filteredMappings' can be moved inside the block at line '384' to restrict runtime creation. 380
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 425
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 455
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 463
 Warning extension MultipleStringLiteralsExtended The String "Alias [" appears 3 times in the file. 477
 Warning extension MultipleStringLiteralsExtended The String "], can't execute a single index op" appears 2 times in the file. 477
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 497
 Warning extension ReturnCountExtended Return count for 'resolveSearchRouting' method is 3 (max allowed is 1). 500
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 580
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 641
 Warning extension ReturnCountExtended Return count for 'concreteIndices' method is 5 (max allowed is 1). 666
 Warning extension LogicConditionNeedOptimization Condition with && at line 678 position 53 need optimization. All method calls are advised to move to end of logic expression. 678
 Warning extension ReturnCountExtended Return count for 'concreteIndices' method is 6 (max allowed is 1). 753
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 763
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 766
 Warning extension ReturnCountExtended Return count for 'convertFromWildcards' method is 2 (max allowed is 1). 825
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 827
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 830
 Warning extension ReturnCountExtended Return count for 'filteringAliases' method is 6 (max allowed is 1). 995
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1000
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1013
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1015
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1020
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1042
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 1047
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,094 position 66 need optimization. All method calls are advised to move to end of logic expression. 1094
 Warning extension ReturnCountExtended Return count for 'isGlobalStateEquals' method is 3 (max allowed is 1). 1133
 Warning extension MultipleStringLiteralsExtended The String "_na_" appears 2 times in the file. 1179
 Warning extension MultipleStringLiteralsExtended The String "meta-data" appears 2 times in the file. 1331
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 1333
 Warning extension MultipleStringLiteralsExtended The String "uuid" appears 2 times in the file. 1334
 Warning extension MultipleStringLiteralsExtended The String "settings" appears 2 times in the file. 1337
 Warning extension MultipleStringLiteralsExtended The String "templates" appears 2 times in the file. 1352
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 2 times in the file. 1359
 Warning extension ReturnCountExtended Return count for 'fromXContent' method is 2 (max allowed is 1). 1377

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/MetaDataCreateIndexService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 200
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 280
 Warning extension MultipleStringLiteralsExtended The String "{index}" appears 2 times in the file. 293
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 381
 Warning extension MultipleStringLiteralsExtended The String "mapping [" appears 2 times in the file. 383
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 393
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 504
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 533

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/MetaDataIndexAliasesService.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 72
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 85
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 110

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/MetaDataIndexStateService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Index name is required" appears 2 times in the file. 71
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 82
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 142

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/MetaDataIndexTemplateService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 65
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 78
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 124
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 146
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "#" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 191

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/MetaDataMappingService.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'executeRefreshOrUpdate' method is 4 (max allowed is 1). 120
 Warning extension LogicConditionNeedOptimization Condition with && at line 193 position 78 need optimization. All method calls are advised to move to end of logic expression. 193
 Warning extension MultipleStringLiteralsExtended The String "created for mapping processing" appears 2 times in the file. 244
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 260
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 265
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 286
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 319
 Warning extension MultipleStringLiteralsExtended The String "][" appears 2 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 338
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 400
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 467

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/MetaDataUpdateSettingsService.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 80
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 134
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 185

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/RepositoriesMetaData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "failed to parse repository [" appears 6 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "settings" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 148

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/RestoreMetaData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "state" appears 2 times in the file. 489

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/SnapshotId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

elasticsearch/src/main/java/org/elasticsearch/cluster/metadata/SnapshotMetaData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "snapshots" appears 2 times in the file. 41
 Warning extension ReturnCountExtended Return count for 'findWaitingIndices' method is 2 (max allowed is 1). 134
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 290
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 293
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 297
 Warning extension MultipleStringLiteralsExtended The String "state" appears 2 times in the file. 386

elasticsearch/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 43
 Warning extension MultipleStringLiteralsExtended The String "node.local" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "node.mode" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "node.client" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "node.data" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "node.master" appears 2 times in the file. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 97
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 101
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 119
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 138
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 159

elasticsearch/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeFilters.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 62
 Warning extension ReturnCountExtended Return count for 'match' method is 2 (max allowed is 1). 67
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 174

elasticsearch/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "client" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "data" appears 4 times in the file. 55
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 74

elasticsearch/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodes.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveNodesIds' method is 2 (max allowed is 1). 327
 Warning extension MultipleStringLiteralsExtended The String "}" appears 4 times in the file. 446
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 542

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/ImmutableShardRouting.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 54
 Warning extension MultipleStringLiteralsExtended The String "], " appears 2 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 350

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/IndexRoutingTable.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "trying to initialize an index with fresh shards, but already has shards created" appears 2 times in the file. 401
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 404
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 426
 Warning extension ReturnCountExtended Return count for 'removeReplica' method is 2 (max allowed is 1). 447
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 2 times in the file. 521

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/IndexShardRoutingTable.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'normalizeVersions' method is 2 (max allowed is 1). 113
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 417
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 418
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 419

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/MutableShardRouting.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 146
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 147
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 151

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/PlainShardsIterator.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'reset' is called in constructor body. 38

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/RoutingNode.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "][" appears 5 times in the file. 93

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/RoutingNodes.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 241
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 441
 Warning extension MultipleStringLiteralsExtended The String " actual: " appears 2 times in the file. 619
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 650
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 712

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/RoutingService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 170

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/RoutingTableValidation.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 42
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 50

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java

Severity Category Rule Message Line
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 109
 Warning extension ReturnCountExtended Return count for 'rerouteWithNoReassign' method is 2 (max allowed is 1). 182
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 190
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 197
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 208
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 215
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 219
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 221
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 225
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 228
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 263
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 294
 Warning extension ReturnCountExtended Return count for 'applyFailedShard' method is 3 (max allowed is 1). 416
 Warning extension MultipleStringLiteralsExtended The String "failed shard {} not found in routingNodes, ignoring it" appears 3 times in the file. 462

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/BalancedShardsAllocator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 104
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 107
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 111
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 119
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 120
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 122
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 123
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 125
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 130
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 136
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 145
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 152
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 159
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 166
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 210
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 339
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 361
 Warning extension MoveVariableInsideIf Variable 'sorter' can be moved inside the block at line '371' to restrict runtime creation. 370
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 371
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 378
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 388
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 410
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 413
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 428
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 434
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 440
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 516
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 531
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 538
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 575
 Warning extension ReturnCountExtended Return count for 'allocateUnassigned' method is 2 (max allowed is 1). 592
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 602
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 612
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 621
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 636
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 653
 Warning extension MoveVariableInsideIf Variable 'minWeight' can be moved inside the block at line '657' to restrict runtime creation. 654
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 658
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 660
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 664
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 672
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 678
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 687
 Warning extension ReturnCountExtended Return count for 'tryRelocateShard' method is 2 (max allowed is 1). 769
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 780
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 795
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 810
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 813
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 818
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 858
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 946
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 974

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/EvenShardsCountAllocator.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 79
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 96
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 148
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 167
 Warning extension ReturnCountExtended Return count for 'move' method is 2 (max allowed is 1). 196
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 206

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/ShardsAllocators.java

Severity Category Rule Message Line
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 74
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 75

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/command/AllocateAllocationCommand.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "shard" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "node" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "allow_primary" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 87
 Warning extension ReturnCountExtended Return count for 'execute' method is 6 (max allowed is 1). 170
 Warning extension MultipleStringLiteralsExtended The String "allocate_allocation_command" appears 4 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String " on the list of unassigned shards" appears 2 times in the file. 186
 Warning extension LogicConditionNeedOptimization Condition with && at line 191 position 35 need optimization. All method calls are advised to move to end of logic expression. 191
 Warning extension MultipleStringLiteralsExtended The String ", which is disabled" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "Allocation can only be done on data nodes, not [" appears 2 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "Could not find [" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "] among the routing nodes" appears 2 times in the file. 210
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 224

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/command/AllocationCommands.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 78
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 85
 Warning extension MultipleStringLiteralsExtended The String "commands" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "expected field name to be named `commands`, got " appears 2 times in the file. 178

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/command/CancelAllocationCommand.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "shard" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "node" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "allow_primary" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 91
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 168
 Warning extension MultipleStringLiteralsExtended The String "cancel_allocation_command" appears 4 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "can't cancel " appears 3 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String " on node " appears 5 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String ", shard is primary and initializing its state" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "[cancel_allocation] can't cancel " appears 3 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String ", shard is primary and started" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String ", failed to find it on node " appears 2 times in the file. 234

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/command/MoveAllocationCommand.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "shard" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "from_node" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "to_node" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 86
 Warning extension ReturnCountExtended Return count for 'execute' method is 4 (max allowed is 1). 150
 Warning extension MultipleStringLiteralsExtended The String "move_allocation_command" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "shard " appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "[move_allocation] can't move " appears 3 times in the file. 168

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/AllocationDeciders.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 55
 Warning extension ReturnCountExtended Return count for 'canAllocate' method is 2 (max allowed is 1). 68
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 81
 Warning extension ReturnCountExtended Return count for 'canRemain' method is 2 (max allowed is 1). 96
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 111
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 129
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 147

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/AllocationDecidersModule.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 65

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/AwarenessAllocationDecider.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "values" appears 2 times in the file. 105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 115
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 117
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 122
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 131
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 135
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 157
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 161
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 166
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 171
 Warning extension ReturnCountExtended Return count for 'underCapacity' method is 3 (max allowed is 1). 171

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "indices_all_active" appears 2 times in the file. 89
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 136
 Warning extension ReturnCountExtended Return count for 'canRebalance' method is 5 (max allowed is 1). 137

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/ConcurrentRebalanceAllocationDecider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 57
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 59
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 67

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/Decision.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 69
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 120

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/DisableAllocationDecider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 92
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 94
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 96
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 106
 Warning extension ReturnCountExtended Return count for 'canAllocate' method is 6 (max allowed is 1). 107

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDecider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 82
 Warning extension MultipleStringLiteralsExtended The String "updating [{}] from [{}] to [{}]" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Unable to parse low watermark: [" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "updating [{}] to [{}]" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Unable to parse high watermark: [" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "high disk watermark [{}] exceeded on {}, shards will be relocated away from this node" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "low disk watermark [{}] exceeded on {}, replicas will not be assigned to this node" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "%" appears 10 times in the file. 155
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 189
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 196
 Warning extension OverridableMethodInConstructor Overridable method 'validWatermarkSetting' is called in constructor body. 202
 Warning extension OverridableMethodInConstructor Overridable method 'validWatermarkSetting' is called in constructor body. 205
 Warning extension OverridableMethodInConstructor Overridable method 'thresholdPercentageFromWatermark' is called in constructor body. 209
 Warning extension OverridableMethodInConstructor Overridable method 'thresholdPercentageFromWatermark' is called in constructor body. 210
 Warning extension OverridableMethodInConstructor Overridable method 'thresholdBytesFromWatermark' is called in constructor body. 212
 Warning extension OverridableMethodInConstructor Overridable method 'thresholdBytesFromWatermark' is called in constructor body. 213
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 223
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 228
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 233
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 238
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 243
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 248
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 253
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 258
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 269
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 281
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 286
 Warning extension ReturnCountExtended Return count for 'canAllocate' method is 12 (max allowed is 1). 286
 Warning extension MultipleStringLiteralsExtended The String "disk threshold decider disabled" appears 2 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "only a single node is present" appears 2 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "Cluster info unavailable for disk threshold decider, allowing allocation." appears 2 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "cluster info unavailable" appears 2 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "Unable to determine disk usages for disk-aware allocation, allowing allocation" appears 2 times in the file. 315
 Warning extension MultipleStringLiteralsExtended The String "disk usages unavailable" appears 2 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "usage without relocations: {}" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "usage with relocations: [{} bytes] {}" appears 2 times in the file. 337
 Warning extension LogicConditionNeedOptimization Condition with && at line 355 position 67 need optimization. All method calls are advised to move to end of logic expression. 355
 Warning extension MultipleStringLiteralsExtended The String "less than required [%s] free on node, free: [%s]" appears 2 times in the file. 360
 Warning extension MultipleStringLiteralsExtended The String "Less than the required {} free bytes threshold ({} bytes free) on node {}, " appears 3 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "but allowing allocation because primary has never been allocated" appears 2 times in the file. 367
 Warning extension MultipleStringLiteralsExtended The String "primary has never been allocated before" appears 2 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "preventing allocation even though primary has never been allocated" appears 2 times in the file. 376
 Warning extension LogicConditionNeedOptimization Condition with && at line 387 position 67 need optimization. All method calls are advised to move to end of logic expression. 387
 Warning extension MultipleStringLiteralsExtended The String "less than required [%s%%] free disk on node, free: [%s%%]" appears 2 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "after allocation less than required [%s] free on node, free: [%s]" appears 2 times in the file. 427
 Warning extension MultipleStringLiteralsExtended The String "after allocation less than required [%s%%] free disk on node, free: [%s%%]" appears 2 times in the file. 433
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 440
 Warning extension ReturnCountExtended Return count for 'canRemain' method is 6 (max allowed is 1). 440
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 521
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 541
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 552
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 564
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 576

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/EnableAllocationDecider.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'canAllocate' method is 6 (max allowed is 1). 63
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 122

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/FilterAllocationDecider.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'shouldFilter' method is 6 (max allowed is 1). 111

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/NodeVersionAllocationDecider.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 53
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 77

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/ShardsLimitAllocationDecider.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'canAllocate' method is 2 (max allowed is 1). 66
 Warning extension MultipleStringLiteralsExtended The String "total shard limit disabled: [%d] <= 0" appears 2 times in the file. 70
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 74
 Warning extension MultipleStringLiteralsExtended The String "too many shards for this index on node [%d], limit: [%d]" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "shard count under limit [%d] of total shards per node" appears 2 times in the file. 88
 Warning extension ReturnCountExtended Return count for 'canRemain' method is 2 (max allowed is 1). 92
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 100

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/SnapshotInProgressAllocationDecider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 55
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 69
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 73
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 85
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 93
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 97

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/ThrottlingAllocationDecider.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'canAllocate' method is 3 (max allowed is 1). 77

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/operation/plain/PlainOperationRouting.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 131
 Warning extension ReturnCountExtended Return count for 'preferenceActiveShardIterator' method is 10 (max allowed is 1). 159
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 267

elasticsearch/src/main/java/org/elasticsearch/cluster/routing/operation/plain/Preference.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_shards" appears 2 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "_prefer_node" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "_local" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "_primary" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "_primary_first" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "_only_local" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "_only_node" appears 2 times in the file. 62
 Warning extension ReturnCountExtended Return count for 'parse' method is 7 (max allowed is 1). 76

elasticsearch/src/main/java/org/elasticsearch/cluster/service/InternalClusterService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "can't set initial block when started" appears 2 times in the file. 133
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 321
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 366
 Warning extension MultipleStringLiteralsExtended The String "], source [" appears 2 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 3 times in the file. 368
 Warning extension RedundantReturn Redundant return. 375
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 448
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 450
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 468
 Warning extension MultipleStringLiteralsExtended The String "failed to notify ClusterStateListener" appears 2 times in the file. 469
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 476
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 486
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 495
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 505
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 563
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 600
 Warning extension MultipleStringLiteralsExtended The String "ack received from node [{}], cluster_state update (version: {})" appears 2 times in the file. 727

elasticsearch/src/main/java/org/elasticsearch/cluster/service/PendingClusterTask.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 46
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 67

elasticsearch/src/main/java/org/elasticsearch/cluster/settings/ClusterDynamicSettingsModule.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*" appears 5 times in the file. 48

elasticsearch/src/main/java/org/elasticsearch/cluster/settings/Validator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cannot parse value [" appears 15 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "] as time" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "the value of the setting " appears 6 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "] as a double" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "] as an integer" appears 4 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "the value [" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "] for " appears 2 times in the file. 216

elasticsearch/src/main/java/org/elasticsearch/common/Base64.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 251
 Warning extension MultipleStringLiteralsExtended The String "US-ASCII" appears 2 times in the file. 251
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 485
 Warning extension ReturnCountExtended Return count for 'encode3to4' method is 4 (max allowed is 1). 536
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 559
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'inBuff'. 562
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 566
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 573
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 706
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 716
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 724
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 728
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 732
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 736
 Warning extension ReturnCountExtended Return count for 'encodeBytesToBytes' method is 3 (max allowed is 1). 913
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 934
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 948
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 956
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 960
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 964
 Warning extension ReturnCountExtended Return count for 'decode4to3' method is 3 (max allowed is 1). 1060
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'outBuff'. 1125
 Warning extension ReturnCountExtended Return count for 'decode' method is 2 (max allowed is 1). 1174
 Warning extension MultipleStringLiteralsExtended The String "Found equals sign at position %d of the base64 string, not at the end" appears 2 times in the file. 1223
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1319
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1323
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1327
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1419
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1423
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 1458
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1464
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 1493
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1499
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 1553
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1559
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 1607
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1613
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 1638
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1644
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 1668
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1674
 Warning extension ReturnCountExtended Return count for 'read' method is 4 (max allowed is 1). 1755
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1822

elasticsearch/src/main/java/org/elasticsearch/common/Booleans.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isBoolean' method is 5 (max allowed is 1). 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 77
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "0" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "off" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 117

elasticsearch/src/main/java/org/elasticsearch/common/Classes.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 60
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 81
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 134
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 137
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 142

elasticsearch/src/main/java/org/elasticsearch/common/MacAddressProvider.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 49
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 90

elasticsearch/src/main/java/org/elasticsearch/common/Names.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'randomNodeName' method is 2 (max allowed is 1). 35
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 45
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63

elasticsearch/src/main/java/org/elasticsearch/common/Numbers.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 70
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 76
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'val'. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'val'. 131
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'val'. 150

elasticsearch/src/main/java/org/elasticsearch/common/ParseField.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 34
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 55
 Warning extension MultipleStringLiteralsExtended The String "Deprecated field [" appears 2 times in the file. 94

elasticsearch/src/main/java/org/elasticsearch/common/Priority.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 66
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 68

elasticsearch/src/main/java/org/elasticsearch/common/RandomBasedUUIDGenerator.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 46
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 50
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 51
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 53
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 56
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 57
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 65

elasticsearch/src/main/java/org/elasticsearch/common/StopWatch.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No tests run: can't get last interval" appears 2 times in the file. 173
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 226
 Warning extension MultipleStringLiteralsExtended The String "-----------------------------------------\n" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 239
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 290

elasticsearch/src/main/java/org/elasticsearch/common/Strings.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 76
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 77
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 143
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 155
 Warning extension LogicConditionNeedOptimization Condition with || at line 338 position 59 need optimization. All method calls are advised to move to end of logic expression. 338
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 403
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 403
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 443
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 535
 Warning extension ReturnCountExtended Return count for 'splitStringToArray' method is 2 (max allowed is 1). 577
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 625
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 629
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 633
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 715
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 766
 Warning extension MultipleStringLiteralsExtended The String "," appears 3 times in the file. 795
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 908
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 914
 Warning extension ReturnCountExtended Return count for 'toCamelCase' method is 2 (max allowed is 1). 926
 Warning extension ReturnCountExtended Return count for 'toUnderscoreCase' method is 2 (max allowed is 1). 962
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 1007
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 1010

elasticsearch/src/main/java/org/elasticsearch/common/Table.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "no headers added..." appears 2 times in the file. 50
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 56
 Warning extension MoveVariableInsideIf Variable 'cellIndex' can be moved inside the block at line '146' to restrict runtime creation. 142
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 162

elasticsearch/src/main/java/org/elasticsearch/common/TimeBasedUUIDGenerator.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 56

elasticsearch/src/main/java/org/elasticsearch/common/blobstore/BlobPath.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 41

elasticsearch/src/main/java/org/elasticsearch/common/blobstore/fs/FsBlobStore.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 49

elasticsearch/src/main/java/org/elasticsearch/common/blobstore/url/URLBlobContainer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "URL repository doesn't support this operation" appears 4 times in the file. 69

elasticsearch/src/main/java/org/elasticsearch/common/blobstore/url/URLBlobStore.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 131

elasticsearch/src/main/java/org/elasticsearch/common/breaker/CircuitBreaker.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 49

elasticsearch/src/main/java/org/elasticsearch/common/breaker/MemoryCircuitBreaker.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'addEstimateBytesAndMaybeBreak' method is 2 (max allowed is 1). 97
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 168
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 175

elasticsearch/src/main/java/org/elasticsearch/common/bytes/BytesReference.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 50
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 70
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 79

elasticsearch/src/main/java/org/elasticsearch/common/bytes/PagedBytesReference.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 48
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 77
 Warning extension ReturnCountExtended Return count for 'toChannelBuffer' method is 2 (max allowed is 1). 183
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 209
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 231
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 238
 Warning extension MultipleStringLiteralsExtended The String "array not available" appears 2 times in the file. 253
 Warning extension ReturnCountExtended Return count for 'read' method is 2 (max allowed is 1). 393
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 414

elasticsearch/src/main/java/org/elasticsearch/common/cli/CliTool.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'execute' method is 8 (max allowed is 1). 102
 Warning extension LogicConditionNeedOptimization Condition with && at line 107 position 31 need optimization. All method calls are advised to move to end of logic expression. 107
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 152
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 231

elasticsearch/src/main/java/org/elasticsearch/common/cli/CliToolConfig.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 39
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 42
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 97
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 99
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 101

elasticsearch/src/main/java/org/elasticsearch/common/collect/CopyOnWriteHashMap.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 224
 Warning extension ReturnCountExtended Return count for 'get' method is 3 (max allowed is 1). 263
 Warning extension ReturnCountExtended Return count for 'remove' method is 5 (max allowed is 1). 351
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 414
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 415
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 420
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 424
 Warning extension MultipleStringLiteralsExtended The String "Null keys are not supported" appears 2 times in the file. 437

elasticsearch/src/main/java/org/elasticsearch/common/collect/CopyOnWriteHashSet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 55
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 59

elasticsearch/src/main/java/org/elasticsearch/common/collect/HppcMaps.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Map key must not be null" appears 2 times in the file. 75

elasticsearch/src/main/java/org/elasticsearch/common/collect/IdentityHashSet.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 29
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 145

elasticsearch/src/main/java/org/elasticsearch/common/collect/ImmutableOpenIntMap.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 177

elasticsearch/src/main/java/org/elasticsearch/common/collect/ImmutableOpenLongMap.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 177

elasticsearch/src/main/java/org/elasticsearch/common/collect/ImmutableOpenMap.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 184

elasticsearch/src/main/java/org/elasticsearch/common/collect/MapBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 41
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 43
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 47

elasticsearch/src/main/java/org/elasticsearch/common/collect/Tuple.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 31
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 32
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 34

elasticsearch/src/main/java/org/elasticsearch/common/component/Lifecycle.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Can't move to started state when closed" appears 4 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "Can't move to started with unknown state" appears 4 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "Can't move to closed before moving to stopped mode" appears 2 times in the file. 173

elasticsearch/src/main/java/org/elasticsearch/common/compress/CompressedIndexInput.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 36
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 45
 Warning extension OverridableMethodInConstructor Overridable method 'readHeader' is called in constructor body. 55
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 84
 Warning extension ReturnCountExtended Return count for 'read' method is 2 (max allowed is 1). 96
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 118
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 129
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 198

elasticsearch/src/main/java/org/elasticsearch/common/compress/CompressedStreamInput.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 33
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 37
 Warning extension OverridableMethodInConstructor Overridable method 'readHeader' is called in constructor body. 45
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 75
 Warning extension ReturnCountExtended Return count for 'read' method is 2 (max allowed is 1). 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 122
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 133
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173

elasticsearch/src/main/java/org/elasticsearch/common/compress/CompressedStreamOutput.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 32
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 34
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 35
 Warning extension OverridableMethodInConstructor Overridable method 'writeHeader' is called in constructor body. 44

elasticsearch/src/main/java/org/elasticsearch/common/geo/GeoDistance.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'distanceBoundingCheck' method is 2 (max allowed is 1). 144
 Warning extension MoveVariableInsideIf Variable 'radLon' can be moved inside the block at line '156' to restrict runtime creation. 150
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 155

elasticsearch/src/main/java/org/elasticsearch/common/geo/GeoHashUtils.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 38
 Warning extension ReturnCountExtended Return count for 'neighbor' method is 5 (max allowed is 1). 132
 Warning extension ReturnCountExtended Return count for 'decode' method is 30 (max allowed is 1). 221
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 323
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 329
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 465
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 471

elasticsearch/src/main/java/org/elasticsearch/common/geo/GeoPoint.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 67

elasticsearch/src/main/java/org/elasticsearch/common/geo/GeoUtils.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 42
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 45
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 48
 Warning extension ReturnCountExtended Return count for 'parseGeoPoint' method is 2 (max allowed is 1). 336
 Warning extension MoveVariableInsideIf Variable 'geohash' can be moved inside the block at line '341' to restrict runtime creation. 339
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 380
 Warning extension MultipleStringLiteralsExtended The String "field [" appears 2 times in the file. 386
 Warning extension MultipleStringLiteralsExtended The String "] missing" appears 2 times in the file. 386
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 425

elasticsearch/src/main/java/org/elasticsearch/common/geo/ShapesAvailability.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 36
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 45

elasticsearch/src/main/java/org/elasticsearch/common/geo/builders/BasePolygonBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 281
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 363
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 420
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'sharedVertex'. 423
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 489
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 502
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 520

elasticsearch/src/main/java/org/elasticsearch/common/geo/builders/GeometryCollectionBuilder.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 91 position 36 need optimization. All method calls are advised to move to end of logic expression. 91

elasticsearch/src/main/java/org/elasticsearch/common/geo/builders/MultiLineStringBuilder.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'InternalLineStringBuilder' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 108

elasticsearch/src/main/java/org/elasticsearch/common/geo/builders/ShapeBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 72
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 78
 Warning extension ReturnCountExtended Return count for 'parseCoordinates' method is 2 (max allowed is 1). 243
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 312
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 422
 Warning extension MultipleStringLiteralsExtended The String "Provided shape has duplicate consecutive coordinates at: " appears 2 times in the file. 470
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 578
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 579
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 650
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 670
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 671
 Warning extension MultipleStringLiteralsExtended The String "coordinates" appears 2 times in the file. 671
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 672
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 673
 Warning extension LogicConditionNeedOptimization Condition with || at line 676 position 39 need optimization. All method calls are advised to move to end of logic expression. 676
 Warning extension ReturnCountExtended Return count for 'parse' method is 9 (max allowed is 1). 721
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 816
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 850
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 876

elasticsearch/src/main/java/org/elasticsearch/common/hash/MurmurHash3.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 35
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 38
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 39
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 49
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 51
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 68
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 81
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 90
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 135

elasticsearch/src/main/java/org/elasticsearch/common/http/client/HttpDownloadHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'download' method is 2 (max allowed is 1). 41
 Warning extension LogicConditionNeedOptimization Condition with && at line 42 position 26 need optimization. All method calls are advised to move to end of logic expression. 42
 Warning extension ReturnCountExtended Return count for 'openConnection' method is 4 (max allowed is 1). 256

elasticsearch/src/main/java/org/elasticsearch/common/inject/BindingProcessor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'visit' method is 3 (max allowed is 1). 45
 Warning extension ReturnCountExtended Return count for 'visit' method is 3 (max allowed is 1). 123
 Warning extension MultipleStringLiteralsExtended The String "Cannot apply a non-module element" appears 4 times in the file. 160
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 244
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 252

elasticsearch/src/main/java/org/elasticsearch/common/inject/BoundProviderFactory.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 59

elasticsearch/src/main/java/org/elasticsearch/common/inject/ConfigurationException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 82

elasticsearch/src/main/java/org/elasticsearch/common/inject/ConstructorBindingImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Binding is not ready" appears 2 times in the file. 59

elasticsearch/src/main/java/org/elasticsearch/common/inject/ConstructorInjector.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'construct' method is 3 (max allowed is 1). 64

elasticsearch/src/main/java/org/elasticsearch/common/inject/ConstructorInjectorStore.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 62

elasticsearch/src/main/java/org/elasticsearch/common/inject/CreationException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58

elasticsearch/src/main/java/org/elasticsearch/common/inject/EncounterImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Encounters may not be used after hear() returns." appears 7 times in the file. 63

elasticsearch/src/main/java/org/elasticsearch/common/inject/InheritingState.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 66
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 83

elasticsearch/src/main/java/org/elasticsearch/common/inject/Initializer.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'get' method is 2 (max allowed is 1). 135

elasticsearch/src/main/java/org/elasticsearch/common/inject/InjectionRequestProcessor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 120

elasticsearch/src/main/java/org/elasticsearch/common/inject/InjectorBuilder.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'build' method is 2 (max allowed is 1). 91
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 211

elasticsearch/src/main/java/org/elasticsearch/common/inject/InjectorImpl.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 100
 Warning extension MultipleStringLiteralsExtended The String "This element represents a synthetic binding." appears 2 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 254
 Warning extension ReturnCountExtended Return count for 'convertConstantStringBinding' method is 2 (max allowed is 1). 267
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 306
 Warning extension ReturnCountExtended Return count for 'createUnitializedBinding' method is 4 (max allowed is 1). 386
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 504
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 513
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 556
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 569
 Warning extension ReturnCountExtended Return count for 'createJustInTimeBinding' method is 5 (max allowed is 1). 600
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 688
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 741
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 790
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 808

elasticsearch/src/main/java/org/elasticsearch/common/inject/InjectorShell.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 198

elasticsearch/src/main/java/org/elasticsearch/common/inject/InternalFactoryToProviderAdapter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 46

elasticsearch/src/main/java/org/elasticsearch/common/inject/Key.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "annotation" appears 3 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "annotation type" appears 2 times in the file. 362
 Warning extension MultipleStringLiteralsExtended The String "Key already has no attributes." appears 2 times in the file. 390

elasticsearch/src/main/java/org/elasticsearch/common/inject/MembersInjectorImpl.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 83
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 92
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 97
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 101

elasticsearch/src/main/java/org/elasticsearch/common/inject/MembersInjectorStore.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 93

elasticsearch/src/main/java/org/elasticsearch/common/inject/Modules.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 43
 Warning extension MultipleStringLiteralsExtended The String "Failed to create module [" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 44
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 51
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 52
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 55

elasticsearch/src/main/java/org/elasticsearch/common/inject/ProviderToInternalFactoryAdapter.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 51

elasticsearch/src/main/java/org/elasticsearch/common/inject/ProvisionException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 69

elasticsearch/src/main/java/org/elasticsearch/common/inject/Scopes.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 39
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 88

elasticsearch/src/main/java/org/elasticsearch/common/inject/SingleMethodInjector.java

Severity Category Rule Message Line
 Warning extension RedundantReturn Redundant return. 74

elasticsearch/src/main/java/org/elasticsearch/common/inject/TypeConverterBindingProcessor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 105
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 133

elasticsearch/src/main/java/org/elasticsearch/common/inject/TypeLiteral.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveType' method is 2 (max allowed is 1). 187
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 212
 Warning extension MultipleStringLiteralsExtended The String "%s is not defined by a supertype of %s" appears 4 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "%s does not construct a supertype of %s" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "Not a method or a constructor: " appears 2 times in the file. 299

elasticsearch/src/main/java/org/elasticsearch/common/inject/assistedinject/AssistedConstructor.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 92

elasticsearch/src/main/java/org/elasticsearch/common/inject/assistedinject/FactoryProvider.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 154
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 161
 Warning extension ReturnCountExtended Return count for 'createMethodMapping' method is 2 (max allowed is 1). 210
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 332

elasticsearch/src/main/java/org/elasticsearch/common/inject/assistedinject/FactoryProvider2.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 129
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 133
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 136
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 228

elasticsearch/src/main/java/org/elasticsearch/common/inject/assistedinject/Parameter.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 47
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 60

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/BindingImpl.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 63

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/ConstructionContext.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 84
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 116

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/Errors.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 51
 Warning extension MultipleStringLiteralsExtended The String " using %s.%n" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String " Reason: %s" appears 4 times in the file. 136
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 203
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 310
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 555
 Warning extension MultipleStringLiteralsExtended The String " at %s%n" appears 3 times in the file. 601
 Warning extension MultipleStringLiteralsExtended The String " while locating %s%n" appears 4 times in the file. 607

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/Join.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 233
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 318

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/LinkedBindingImpl.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 45

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/MoreTypes.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 49
 Warning extension ReturnCountExtended Return count for 'canonicalize' method is 2 (max allowed is 1). 104
 Warning extension ReturnCountExtended Return count for 'getRawType' method is 2 (max allowed is 1). 144
 Warning extension ReturnCountExtended Return count for 'hashCode' method is 2 (max allowed is 1). 236
 Warning extension ReturnCountExtended Return count for 'toString' method is 2 (max allowed is 1). 264
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "Unsupported wildcard type " appears 2 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "member" appears 2 times in the file. 319
 Warning extension ReturnCountExtended Return count for 'getGenericSupertype' method is 3 (max allowed is 1). 368
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 376
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 511
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 522
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 546
 Warning extension MultipleStringLiteralsExtended The String "wildcard bounds" appears 2 times in the file. 564
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 578
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 582
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 606

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/PrivateElementsImpl.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "source" appears 2 times in the file. 65

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/Scoping.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 221

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/SourceProvider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 43

elasticsearch/src/main/java/org/elasticsearch/common/inject/internal/UniqueAnnotations.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 34

elasticsearch/src/main/java/org/elasticsearch/common/inject/matcher/AbstractMatcher.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 37
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 65
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 97

elasticsearch/src/main/java/org/elasticsearch/common/inject/matcher/Matchers.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 45
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 61
 Warning extension MultipleStringLiteralsExtended The String ")" appears 7 times in the file. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 98
 Warning extension MultipleStringLiteralsExtended The String "annotatedWith(" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String ".class)" appears 2 times in the file. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 146
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 188
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 227
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 242
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 265
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 303
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 347
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 389
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 395
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 427

elasticsearch/src/main/java/org/elasticsearch/common/inject/multibindings/MapBinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "MapBinder was already initialized" appears 2 times in the file. 256

elasticsearch/src/main/java/org/elasticsearch/common/inject/multibindings/Multibinder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Multibinder was already initialized" appears 2 times in the file. 212

elasticsearch/src/main/java/org/elasticsearch/common/inject/name/NamedImpl.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 24
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58

elasticsearch/src/main/java/org/elasticsearch/common/inject/spi/Elements.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 205
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 207
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 315

elasticsearch/src/main/java/org/elasticsearch/common/inject/spi/InjectionPoint.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'forConstructorOf' method is 2 (max allowed is 1). 172
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 214
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 351

elasticsearch/src/main/java/org/elasticsearch/common/inject/spi/Message.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 141

elasticsearch/src/main/java/org/elasticsearch/common/inject/util/Modules.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 42
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 224

elasticsearch/src/main/java/org/elasticsearch/common/inject/util/Types.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 82
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 91
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 91

elasticsearch/src/main/java/org/elasticsearch/common/io/Channels.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 39
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 43
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 68

elasticsearch/src/main/java/org/elasticsearch/common/io/FastCharArrayReader.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'read' method is 4 (max allowed is 1). 119

elasticsearch/src/main/java/org/elasticsearch/common/io/FastCharArrayWriter.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 144
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 144
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 245

elasticsearch/src/main/java/org/elasticsearch/common/io/FileSystemUtils.java

Severity Category Rule Message Line
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '&='. 99
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 176

elasticsearch/src/main/java/org/elasticsearch/common/io/Streams.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No input File specified" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "No output File specified" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "No input byte array specified" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "No OutputStream specified" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "No Writer specified" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "Resource [" appears 3 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "] not found in classpath" appears 2 times in the file. 259

elasticsearch/src/main/java/org/elasticsearch/common/io/UTF8StreamWriter.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 103
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 112
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 132
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 162
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 183

elasticsearch/src/main/java/org/elasticsearch/common/io/stream/HandlesStreamInput.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'HandlesStreamInput' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 36
 Warning extension MultipleStringLiteralsExtended The String "Expected handle header, got [" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 55

elasticsearch/src/main/java/org/elasticsearch/common/io/stream/InputStreamStreamInput.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'ch'. 44

elasticsearch/src/main/java/org/elasticsearch/common/io/stream/StreamInput.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'readVInt' method is 4 (max allowed is 1). 126
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 156
 Warning extension ReturnCountExtended Return count for 'readVLong' method is 8 (max allowed is 1). 164
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 257
 Warning extension ReturnNullInsteadOfBoolean Method declares to return Boolean and returns null. 313
 Warning extension ReturnCountExtended Return count for 'readGenericValue' method is 21 (max allowed is 1). 363

elasticsearch/src/main/java/org/elasticsearch/common/io/stream/StreamOutput.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 196
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 199
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 254
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 255
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 256
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 347

elasticsearch/src/main/java/org/elasticsearch/common/jna/CLibrary.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 34
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 35
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 37
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 53

elasticsearch/src/main/java/org/elasticsearch/common/jna/Natives.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 37
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 43
 Warning extension MultipleStringLiteralsExtended The String "os.name" appears 2 times in the file. 54

elasticsearch/src/main/java/org/elasticsearch/common/joda/DateMathParser.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 51
 Warning extension MultipleStringLiteralsExtended The String "now" appears 2 times in the file. 54
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 57
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "truncated date math [" appears 2 times in the file. 108
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 216
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 223
 Warning extension MultipleStringLiteralsExtended The String "failed to parse date field [" appears 3 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "], tried both date format [" appears 3 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "], and timestamp number" appears 3 times in the file. 223
 Warning extension ReturnCountExtended Return count for 'parseRoundCeilStringValue' method is 4 (max allowed is 1). 228
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 248
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 252
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 257
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 264

elasticsearch/src/main/java/org/elasticsearch/common/joda/Joda.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "||" appears 2 times in the file. 136
 Warning extension MoveVariableInsideIf Variable 'parsers' can be moved inside the block at line '142' to restrict runtime creation. 138
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 168
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 176

elasticsearch/src/main/java/org/elasticsearch/common/lease/Releasables.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 46

elasticsearch/src/main/java/org/elasticsearch/common/logging/ESLoggerFactory.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 39
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 44

elasticsearch/src/main/java/org/elasticsearch/common/logging/Loggers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.elasticsearch." appears 4 times in the file. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension MultipleStringLiteralsExtended The String " " appears 3 times in the file. 45

elasticsearch/src/main/java/org/elasticsearch/common/logging/log4j/ConsoleAppender.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'setTarget' is called in constructor body. 77
 Warning extension OverridableMethodInConstructor Overridable method 'activateOptions' is called in constructor body. 78
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 174
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 212

elasticsearch/src/main/java/org/elasticsearch/common/logging/log4j/LogConfigurator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.apache.log4j.PatternLayout" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String ".value" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String ".type" appears 2 times in the file. 103

elasticsearch/src/main/java/org/elasticsearch/common/logging/support/LoggerMessageFormat.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'format' method is 5 (max allowed is 1). 39
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 72
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 125
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 156
 Warning extension MultipleStringLiteralsExtended The String ", " appears 9 times in the file. 170

elasticsearch/src/main/java/org/elasticsearch/common/lucene/Directories.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51

elasticsearch/src/main/java/org/elasticsearch/common/lucene/Lucene.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Index locked for write: " appears 2 times in the file. 137
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 140
 Warning extension MoveVariableInsideIf Variable 'actualFormat' can be moved inside the block at line '199' to restrict runtime creation. 198
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 331
 Warning extension ReturnCountExtended Return count for 'readTopDocs' method is 2 (max allowed is 1). 336
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 396
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 631

elasticsearch/src/main/java/org/elasticsearch/common/lucene/all/AllEntries.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 113
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 149
 Warning extension ReturnCountExtended Return count for 'read' method is 4 (max allowed is 1). 168

elasticsearch/src/main/java/org/elasticsearch/common/lucene/all/AllField.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 80

elasticsearch/src/main/java/org/elasticsearch/common/lucene/all/AllTermQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'explain' method is 2 (max allowed is 1). 148

elasticsearch/src/main/java/org/elasticsearch/common/lucene/all/AllTokenStream.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 47
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 49
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 66

elasticsearch/src/main/java/org/elasticsearch/common/lucene/docset/AndDocIdSet.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'iterator' method is 3 (max allowed is 1). 74
 Warning extension ReturnCountExtended Return count for 'newDocIdSetIterator' method is 4 (max allowed is 1). 135
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 161
 Warning extension MultipleStringLiteralsExtended The String "Illegal State - DocIdSetIterator is already exhausted" appears 2 times in the file. 175
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 190
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 200
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 222
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 233

elasticsearch/src/main/java/org/elasticsearch/common/lucene/docset/DocIdSets.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'toCacheable' method is 4 (max allowed is 1). 65

elasticsearch/src/main/java/org/elasticsearch/common/lucene/docset/NotDocIdSet.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'advance' method is 3 (max allowed is 1). 144
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 161
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 173

elasticsearch/src/main/java/org/elasticsearch/common/lucene/docset/OrDocIdSet.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 145
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 150
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 155
 Warning extension ReturnCountExtended Return count for 'advance' method is 2 (max allowed is 1). 161
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 175
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 204

elasticsearch/src/main/java/org/elasticsearch/common/lucene/index/FilterableTermsEnum.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 66
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 81
 Warning extension ReturnCountExtended Return count for 'seekExact' method is 2 (max allowed is 1). 127

elasticsearch/src/main/java/org/elasticsearch/common/lucene/index/FreqTermsEnum.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'seekExact' method is 2 (max allowed is 1). 71

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/AndFilter.java

Severity Category Rule Message Line
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 66

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/EmptyScorer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Should never be called" appears 2 times in the file. 39

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/MoreLikeThisQuery.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 70
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 180
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 183
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 188
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 199

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/MultiPhrasePrefixQuery.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 70
 Warning extension ReturnCountExtended Return count for 'rewrite' method is 2 (max allowed is 1). 129
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 160
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 203
 Warning extension LogicConditionNeedOptimization Condition with && at line 243 position 16 need optimization. All method calls are advised to move to end of logic expression. 243
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 257

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/OrFilter.java

Severity Category Rule Message Line
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 73

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/Queries.java

Severity Category Rule Message Line
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '<'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 104
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 105
 Warning extension MultipleStringLiteralsExtended The String "<" appears 3 times in the file. 105
 Warning extension ReturnCountExtended Return count for 'calculateMinShouldMatch' method is 3 (max allowed is 1). 107
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 112
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 127
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 140
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 155

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/XBooleanFilter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 11 (max allowed is 1). 52
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 81
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 185
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 209
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 283
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 356

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/XFilteredQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'rewrite' method is 3 (max allowed is 1). 95
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 109
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 167
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 184
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 186

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/XMoreLikeThis.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 204
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 243
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 332
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 336
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 678
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 680
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 714
 Warning extension MultipleStringLiteralsExtended The String "\t" appears 7 times in the file. 763
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 7 times in the file. 763
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 863
 Warning extension LogicConditionNeedOptimization Condition with && at line 941 position 48 need optimization. All method calls are advised to move to end of logic expression. 941
 Warning extension LogicConditionNeedOptimization Condition with && at line 964 position 48 need optimization. All method calls are advised to move to end of logic expression. 964

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/function/CombineFunction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "function score, product of:" appears 6 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "Math.min of" appears 6 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "maxBoost" appears 6 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "queryBoost" appears 6 times in the file. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 105
 Warning extension LogicConditionNeedOptimization Condition with || at line 198 position 56 need optimization. All method calls are advised to move to end of logic expression. 198
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'floatVersion'. 198

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/function/FieldValueFactorFunction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "(" appears 2 times in the file. 64

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/function/FiltersFunctionScoreQuery.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 83
 Warning extension ReturnCountExtended Return count for 'explain' method is 2 (max allowed is 1). 172
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 331
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 342
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 354

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/function/FunctionScoreQuery.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 176
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 183
 Warning extension LogicConditionNeedOptimization Condition with && at line 188 position 16 need optimization. All method calls are advised to move to end of logic expression. 188
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 191

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/function/RandomScoreFunction.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 72

elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/function/ScoreFunction.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 40
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 44

elasticsearch/src/main/java/org/elasticsearch/common/lucene/store/InputStreamIndexInput.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'read' method is 3 (max allowed is 1). 58

elasticsearch/src/main/java/org/elasticsearch/common/lucene/uid/PerThreadIDAndVersionLookup.java

Severity Category Rule Message Line
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 91

elasticsearch/src/main/java/org/elasticsearch/common/lucene/uid/Versions.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 86 position 53 need optimization. All method calls are advised to move to end of logic expression. 86
 Warning extension LogicConditionNeedOptimization Condition with && at line 95 position 52 need optimization. All method calls are advised to move to end of logic expression. 95
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 126

elasticsearch/src/main/java/org/elasticsearch/common/metrics/EWMA.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 43
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 103

elasticsearch/src/main/java/org/elasticsearch/common/metrics/MeterMetric.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 108

elasticsearch/src/main/java/org/elasticsearch/common/netty/NettyUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.jboss.netty." appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "netty." appears 2 times in the file. 93

elasticsearch/src/main/java/org/elasticsearch/common/network/MulticastChannel.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 145
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 147
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 167
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 210
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 212
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 306
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 309
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 313
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 338
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 360
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 367
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 383

elasticsearch/src/main/java/org/elasticsearch/common/network/NetworkService.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveInetAddress' method is 5 (max allowed is 1). 128
 Warning extension MoveVariableInsideIf Variable 'origHost' can be moved inside the block at line '145' to restrict runtime creation. 144
 Warning extension MultipleStringLiteralsExtended The String "#" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String ":ipv4" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String ":ipv6" appears 2 times in the file. 160

elasticsearch/src/main/java/org/elasticsearch/common/network/NetworkUtils.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension MultipleStringLiteralsExtended The String "java.net.preferIPv4Stack" appears 3 times in the file. 45
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 48
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 56
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 64
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 124
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 128
 Warning extension MultipleStringLiteralsExtended The String "Network interface pointer is null" appears 2 times in the file. 172
 Warning extension LogicConditionNeedOptimization Condition with && at line 177 position 53 need optimization. All method calls are advised to move to end of logic expression. 177
 Warning extension LogicConditionNeedOptimization Condition with && at line 178 position 57 need optimization. All method calls are advised to move to end of logic expression. 178
 Warning extension LogicConditionNeedOptimization Condition with && at line 197 position 49 need optimization. All method calls are advised to move to end of logic expression. 197
 Warning extension LogicConditionNeedOptimization Condition with && at line 198 position 53 need optimization. All method calls are advised to move to end of logic expression. 198
 Warning extension LogicConditionNeedOptimization Condition with && at line 221 position 53 need optimization. All method calls are advised to move to end of logic expression. 221
 Warning extension LogicConditionNeedOptimization Condition with && at line 222 position 57 need optimization. All method calls are advised to move to end of logic expression. 222
 Warning extension ReturnCountExtended Return count for 'getIpStackType' method is 4 (max allowed is 1). 240
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 325

elasticsearch/src/main/java/org/elasticsearch/common/path/PathTrie.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 51
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 79
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 95
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 132
 Warning extension ReturnCountExtended Return count for 'retrieve' method is 3 (max allowed is 1). 154

elasticsearch/src/main/java/org/elasticsearch/common/recycler/Recyclers.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 220

elasticsearch/src/main/java/org/elasticsearch/common/regex/Regex.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'simpleMatch' method is 7 (max allowed is 1). 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 88

elasticsearch/src/main/java/org/elasticsearch/common/rounding/TimeZoneRounding.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Zero or negative time interval not supported" appears 4 times in the file. 68
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'nextLocal'. 175

elasticsearch/src/main/java/org/elasticsearch/common/settings/ImmutableSettings.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 11 times in the file. 123
 Warning extension ReturnCountExtended Return count for 'convertMapsToArrays' method is 3 (max allowed is 1). 150
 Warning extension MultipleStringLiteralsExtended The String "org.elasticsearch" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "]" appears 15 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "Failed to parse float setting [" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "] with value [" appears 11 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "Failed to parse double setting [" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "Failed to parse int setting [" appears 2 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "Failed to parse long setting [" appears 2 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "Failed to load class setting [" appears 2 times in the file. 439
 Warning extension ReturnCountExtended Return count for 'getAsClass' method is 4 (max allowed is 1). 445
 Warning extension ReturnCountExtended Return count for 'getAsArray' method is 2 (max allowed is 1). 491
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 572
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 650
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 957
 Warning extension MultipleStringLiteralsExtended The String "Failed to load settings from [" appears 2 times in the file. 958
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 984
 Warning extension MoveVariableInsideIf Variable 'value' can be moved inside the block at line '1,026' to restrict runtime creation. 1025
 Warning extension MoveVariableInsideIf Variable 'value' can be moved inside the block at line '1,044' to restrict runtime creation. 1043
 Warning extension MultipleStringLiteralsExtended The String "env." appears 3 times in the file. 1073

elasticsearch/src/main/java/org/elasticsearch/common/settings/loader/YamlSettingsLoader.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 40

elasticsearch/src/main/java/org/elasticsearch/common/text/StringAndBytesText.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 45
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 46
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/common/text/StringText.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 46

elasticsearch/src/main/java/org/elasticsearch/common/text/UTF8SortedAsUnicodeComparator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'compare' method is 4 (max allowed is 1). 35

elasticsearch/src/main/java/org/elasticsearch/common/transport/InetSocketTransportAddress.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 41
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 43
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 47
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 55

elasticsearch/src/main/java/org/elasticsearch/common/transport/NetworkExceptionHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'isCloseConnectionException' method is 6 (max allowed is 1). 37

elasticsearch/src/main/java/org/elasticsearch/common/transport/PortsRange.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 53 position 34 need optimization. All method calls are advised to move to end of logic expression. 53

elasticsearch/src/main/java/org/elasticsearch/common/transport/TransportAddressSerializers.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 53
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 71
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 76

elasticsearch/src/main/java/org/elasticsearch/common/unit/ByteSizeValue.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "pb" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "tb" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "gb" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "mb" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "kb" appears 2 times in the file. 170

elasticsearch/src/main/java/org/elasticsearch/common/unit/DistanceUnit.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 192
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Distance' does not extend anything. 250

elasticsearch/src/main/java/org/elasticsearch/common/unit/Fuzziness.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 50
 Warning extension ReturnCountExtended Return count for 'parse' method is 6 (max allowed is 1). 88
 Warning extension ReturnCountExtended Return count for 'asSimilarity' method is 5 (max allowed is 1). 222

elasticsearch/src/main/java/org/elasticsearch/common/unit/Percent.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

elasticsearch/src/main/java/org/elasticsearch/common/unit/RatioValue.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 38
 Warning extension MultipleStringLiteralsExtended The String "%" appears 2 times in the file. 43
 Warning extension ReturnCountExtended Return count for 'parseRatioValue' method is 2 (max allowed is 1). 51
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 71

elasticsearch/src/main/java/org/elasticsearch/common/unit/SizeValue.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension MultipleStringLiteralsExtended The String "p" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "t" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "g" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "m" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "k" appears 2 times in the file. 162

elasticsearch/src/main/java/org/elasticsearch/common/unit/TimeValue.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 39
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 65
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 69
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 182
 Warning extension ReturnCountExtended Return count for 'toString' method is 2 (max allowed is 1). 196
 Warning extension MultipleStringLiteralsExtended The String "d" appears 2 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "h" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "m" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "s" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 2 times in the file. 220

elasticsearch/src/main/java/org/elasticsearch/common/util/AbstractArray.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 26

elasticsearch/src/main/java/org/elasticsearch/common/util/AbstractBigArray.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 40

elasticsearch/src/main/java/org/elasticsearch/common/util/AbstractPagedHashMap.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 47
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 50

elasticsearch/src/main/java/org/elasticsearch/common/util/BigArrays.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 367
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 373
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 555
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 605
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 652
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 699
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 739

elasticsearch/src/main/java/org/elasticsearch/common/util/BigByteArray.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'get' method is 2 (max allowed is 1). 67

elasticsearch/src/main/java/org/elasticsearch/common/util/BloomFilter.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 99
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 101
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 155
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 232
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 335
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 401
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 439
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 500
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 505
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 507
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 519
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 520
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 536
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 545
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 592

elasticsearch/src/main/java/org/elasticsearch/common/util/ByteUtils.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 35
 Warning extension ReturnCountExtended Return count for 'readVLong' method is 8 (max allowed is 1). 109

elasticsearch/src/main/java/org/elasticsearch/common/util/CancellableThreads.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 86

elasticsearch/src/main/java/org/elasticsearch/common/util/CollectionUtils.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 267
 Warning extension ReturnCountExtended Return count for 'sortAndDedup' method is 2 (max allowed is 1). 334

elasticsearch/src/main/java/org/elasticsearch/common/util/LongObjectPagedHashMap.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 141

elasticsearch/src/main/java/org/elasticsearch/common/util/MinimalMap.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "entrySet() not supported!" appears 2 times in the file. 29

elasticsearch/src/main/java/org/elasticsearch/common/util/SingleObjectCache.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 36

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/AbstractRunnable.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 40

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/AtomicArray.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 43
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 45

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/BaseFuture.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Blocking operation" appears 2 times in the file. 95

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/ConcurrentCollections.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 88

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/EsAbortPolicy.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 33

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/EsExecutors.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 43
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 77
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 127
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 135

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/KeyedLock.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 44
 Warning extension MultipleStringLiteralsExtended The String "Lock not acquired" appears 2 times in the file. 76

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/LoggingRunnable.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 41

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedCallable.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 36

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/PrioritizedRunnable.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 34

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/SizeBlockingQueue.java

Severity Category Rule Message Line
 Warning extension UselessSingleCatch Useless catch block. No logging, wrapping or handling code here. 164

elasticsearch/src/main/java/org/elasticsearch/common/util/concurrent/ThreadBarrier.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 270
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'time'. 300
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 300

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/XContentBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 86
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 88
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 94
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 686
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 3 times in the file. 1097
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 3 times in the file. 1097

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/XContentFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No matching content type for " appears 2 times in the file. 114
 Warning extension ReturnCountExtended Return count for 'xContentType' method is 5 (max allowed is 1). 143
 Warning extension MultipleStringLiteralsExtended The String "Failed to derive xcontent from " appears 2 times in the file. 177
 Warning extension ReturnCountExtended Return count for 'xContentType' method is 8 (max allowed is 1). 210
 Warning extension ReturnCountExtended Return count for 'xContentType' method is 6 (max allowed is 1). 267

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/XContentHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'convertToMap' method is 2 (max allowed is 1). 77
 Warning extension MultipleStringLiteralsExtended The String "Failed to parse content to map" appears 2 times in the file. 100
 Warning extension ReturnCountExtended Return count for 'convertToMap' method is 2 (max allowed is 1). 108
 Warning extension ReturnCountExtended Return count for 'convertToJson' method is 2 (max allowed is 1). 136
 Warning extension ReturnCountExtended Return count for 'toString' method is 2 (max allowed is 1). 205
 Warning extension AvoidHidingCauseException Cause exception 'e2' was lost. 223
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 241
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 251
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 276

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/XContentType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "json" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "application/smile" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "smile" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "application/yaml" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "yaml" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "application/cbor" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "cbor" appears 2 times in the file. 100
 Warning extension ReturnCountExtended Return count for 'fromRestContentType' method is 4 (max allowed is 1). 109

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/cbor/CborXContent.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 41
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 49

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/json/JsonXContent.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 41
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 42
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 53

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/json/JsonXContentGenerator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 355

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/json/JsonXContentParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 207
 Warning extension ReturnCountExtended Return count for 'convertToken' method is 10 (max allowed is 1). 210

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/smile/SmileXContent.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 43
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/support/AbstractXContentParser.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 89

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/support/XContentMapValues.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 62
 Warning extension ReturnCountExtended Return count for 'extractValue' method is 3 (max allowed is 1). 105
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 140
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 149
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 169

elasticsearch/src/main/java/org/elasticsearch/common/xcontent/yaml/YamlXContent.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 41
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48

elasticsearch/src/main/java/org/elasticsearch/discovery/AckClusterStatePublishResponseHandler.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 69

elasticsearch/src/main/java/org/elasticsearch/discovery/BlockingClusterStatePublishResponseHandler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node [" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "] already responded or failed" appears 2 times in the file. 56

elasticsearch/src/main/java/org/elasticsearch/discovery/DiscoveryModule.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 39

elasticsearch/src/main/java/org/elasticsearch/discovery/DiscoveryService.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 95

elasticsearch/src/main/java/org/elasticsearch/discovery/DiscoverySettings.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "write" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "no master" appears 2 times in the file. 46

elasticsearch/src/main/java/org/elasticsearch/discovery/local/LocalDiscovery.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "unexpected failure during [{}]" appears 5 times in the file. 142
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 321
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 379

elasticsearch/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "' must be a positive number. got [" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "]" appears 10 times in the file. 178
 Warning extension MoveVariableInsideIf Variable 'nodes' can be moved inside the block at line '261' to restrict runtime creation. 260
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 264
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 267
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 279
 Warning extension MultipleStringLiteralsExtended The String "unexpected failure during [{}]" appears 9 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String ")" appears 8 times in the file. 420
 Warning extension ReturnCountExtended Return count for 'execute' method is 3 (max allowed is 1). 422
 Warning extension ReturnCountExtended Return count for 'joinElectedMaster' method is 3 (max allowed is 1). 461
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 465
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 475
 Warning extension MultipleStringLiteralsExtended The String "not enough master nodes" appears 2 times in the file. 517
 Warning extension ReturnCountExtended Return count for 'execute' method is 5 (max allowed is 1). 637
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 717
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 721
 Warning extension MultipleStringLiteralsExtended The String "received state from a node that is not part of the cluster" appears 2 times in the file. 724
 Warning extension MultipleStringLiteralsExtended The String "])" appears 3 times in the file. 760
 Warning extension ReturnCountExtended Return count for 'execute' method is 3 (max allowed is 1). 762
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 859
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 909
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 968
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 985
 Warning extension ReturnCountExtended Return count for 'findMaster' method is 4 (max allowed is 1). 994
 Warning extension MultipleStringLiteralsExtended The String " {none}" appears 2 times in the file. 1004
 Warning extension MultipleStringLiteralsExtended The String "\n\t--> " appears 2 times in the file. 1007
 Warning extension MultipleStringLiteralsExtended The String "not called from the cluster state update thread" appears 2 times in the file. 1134
 Warning extension MultipleStringLiteralsExtended The String "failed to send rejoin request to [{}]" appears 2 times in the file. 1149
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1152
 Warning extension MultipleStringLiteralsExtended The String "received a request to rejoin the cluster from [" appears 2 times in the file. 1276
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1281
 Warning extension MultipleStringLiteralsExtended The String "updating {} from [{}] to [{}]" appears 2 times in the file. 1311
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,343 position 33 need optimization. All method calls are advised to move to end of logic expression. 1343
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1375

elasticsearch/src/main/java/org/elasticsearch/discovery/zen/elect/ElectMasterService.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 117

elasticsearch/src/main/java/org/elasticsearch/discovery/zen/fd/MasterFaultDetection.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 121
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 123
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 179
 Warning extension MultipleStringLiteralsExtended The String "error while sending ping response" appears 2 times in the file. 379

elasticsearch/src/main/java/org/elasticsearch/discovery/zen/fd/NodesFaultDetection.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 137
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 254

elasticsearch/src/main/java/org/elasticsearch/discovery/zen/membership/MembershipAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 192
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 201

elasticsearch/src/main/java/org/elasticsearch/discovery/zen/ping/ZenPingService.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 136

elasticsearch/src/main/java/org/elasticsearch/discovery/zen/ping/multicast/MulticastZenPing.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 66
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 130
 Warning extension ReturnCountExtended Return count for 'pingAndWait' method is 3 (max allowed is 1). 152
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 233
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 265
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 429
 Warning extension MultipleStringLiteralsExtended The String "failed to read requesting data from {}" appears 2 times in the file. 431
 Warning extension MultipleStringLiteralsExtended The String "response" appears 2 times in the file. 440
 Warning extension MultipleStringLiteralsExtended The String "cluster_name" appears 3 times in the file. 457
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 457
 Warning extension MultipleStringLiteralsExtended The String "clusterName" appears 2 times in the file. 457
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 498
 Warning extension MultipleStringLiteralsExtended The String "failed to receive confirmation on sent ping response to [{}]" appears 2 times in the file. 546
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 549

elasticsearch/src/main/java/org/elasticsearch/discovery/zen/ping/unicast/UnicastZenPing.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'addHostsProvider' is called in constructor body. 120
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 138
 Warning extension MultipleStringLiteralsExtended The String "#" appears 2 times in the file. 139
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 141
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 209
 Warning extension MultipleStringLiteralsExtended The String "Ping execution failed" appears 3 times in the file. 243
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 258
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 296
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 371
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 399
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 427
 Warning extension MultipleStringLiteralsExtended The String "failed to connect to {}" appears 2 times in the file. 458
 Warning extension MultipleStringLiteralsExtended The String "failed to send ping to [{}]" appears 2 times in the file. 460
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 466
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 498
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 502
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 527
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 596

elasticsearch/src/main/java/org/elasticsearch/discovery/zen/publish/PublishClusterStateAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 121
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 151
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 201
 Warning extension MultipleStringLiteralsExtended The String "failed to send response on cluster state processed" appears 3 times in the file. 202
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 210
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 215
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 219

elasticsearch/src/main/java/org/elasticsearch/env/Environment.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "path.home" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "path.conf" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "path.plugins" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "path.work" appears 2 times in the file. 84
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 100
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 100
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 101
 Warning extension MultipleStringLiteralsExtended The String "path.logs" appears 2 times in the file. 104
 Warning extension ReturnCountExtended Return count for 'resolveConfig' method is 4 (max allowed is 1). 178
 Warning extension MultipleStringLiteralsExtended The String "Failed to resolve path [" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "config/" appears 2 times in the file. 207

elasticsearch/src/main/java/org/elasticsearch/env/NodeEnvironment.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 79
 Warning extension MultipleStringLiteralsExtended The String "node.lock" appears 2 times in the file. 79
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 102
 Warning extension MultipleStringLiteralsExtended The String "failed to obtain node lock on {}" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "waitCount is " appears 2 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String " but should be > 0" appears 2 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "Can't lock shard " appears 2 times in the file. 415
 Warning extension MultipleStringLiteralsExtended The String "node is not configured to store local location" appears 3 times in the file. 439
 Warning extension LogicConditionNeedOptimization Condition with && at line 606 position 46 need optimization. All method calls are advised to move to end of logic expression. 606
 Warning extension LogicConditionNeedOptimization Condition with && at line 620 position 26 need optimization. All method calls are advised to move to end of logic expression. 620

elasticsearch/src/main/java/org/elasticsearch/gateway/GatewayService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "expecting [" appears 3 times in the file. 164
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 288

elasticsearch/src/main/java/org/elasticsearch/gateway/local/LocalGateway.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 114
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 127
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 167
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 206

elasticsearch/src/main/java/org/elasticsearch/gateway/local/LocalGatewayAllocator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "quorum" appears 2 times in the file. 86
 Warning extension ReturnCountExtended Return count for 'allocateUnassigned' method is 2 (max allowed is 1). 108
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 115
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 135
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 176
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 189
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 212
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 274
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 298
 Warning extension ReturnCountExtended Return count for 'buildShardStates' method is 2 (max allowed is 1). 378

elasticsearch/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalAllocateDangledIndices.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 117
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 127
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 160
 Warning extension MultipleStringLiteralsExtended The String "failed send response for allocating dangled" appears 2 times in the file. 161

elasticsearch/src/main/java/org/elasticsearch/gateway/local/state/meta/LocalGatewayMetaState.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "binary" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 136
 Warning extension EitherLogOrThrow Either log or throw exception. 167
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 198
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 216
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 226
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 245
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 272
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 310
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 361
 Warning extension EitherLogOrThrow Either log or throw exception. 362
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 371
 Warning extension EitherLogOrThrow Either log or throw exception. 372
 Warning extension MultipleStringLiteralsExtended The String "_state" appears 2 times in the file. 414
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 419
 Warning extension MultipleStringLiteralsExtended The String "metadata-" appears 2 times in the file. 424
 Warning extension MoveVariableInsideIf Variable 'currentFieldName' can be moved inside the block at line '438' to restrict runtime creation. 436
 Warning extension MultipleStringLiteralsExtended The String "upgrade" appears 2 times in the file. 468
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 520

elasticsearch/src/main/java/org/elasticsearch/gateway/local/state/meta/MetaDataStateFormat.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String ".tmp" appears 2 times in the file. 100
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 195
 Warning extension ReturnCountExtended Return count for 'loadLatestState' method is 2 (max allowed is 1). 237
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '&='. 255
 Warning extension MoveVariableInsideIf Variable 'id' can be moved inside the block at line '286' to restrict runtime creation. 271
 Warning extension MoveVariableInsideIf Variable 'parser' can be moved inside the block at line '273' to restrict runtime creation. 272
 Warning extension MultipleStringLiteralsExtended The String "{}: no data for [{}], ignoring..." appears 2 times in the file. 277
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 291

elasticsearch/src/main/java/org/elasticsearch/gateway/local/state/meta/TransportNodesListGatewayMetaState.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 120

elasticsearch/src/main/java/org/elasticsearch/gateway/local/state/shards/LocalGatewayShardsState.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension EitherLogOrThrow Either log or throw exception. 69
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 134
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 146
 Warning extension MultipleStringLiteralsExtended The String "_state" appears 2 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "shards-" appears 2 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "], ignoring..." appears 2 times in the file. 272
 Warning extension ReturnCountExtended Return count for 'pre09ReadState' method is 2 (max allowed is 1). 319

elasticsearch/src/main/java/org/elasticsearch/gateway/local/state/shards/TransportNodesListGatewayStartedShards.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 128

elasticsearch/src/main/java/org/elasticsearch/http/HttpInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

elasticsearch/src/main/java/org/elasticsearch/http/HttpServer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http_address" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "/_plugin/" appears 2 times in the file. 116
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 133
 Warning extension MultipleStringLiteralsExtended The String "text/html" appears 3 times in the file. 158
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 206
 Warning extension MultipleStringLiteralsExtended The String "image/jpeg" appears 2 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "image/tiff" appears 2 times in the file. 237
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'InnerClass()'. 246

elasticsearch/src/main/java/org/elasticsearch/http/netty/ESHttpContentDecompressor.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ESHttpContentDecompressor' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 32

elasticsearch/src/main/java/org/elasticsearch/http/netty/NettyHttpChannel.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 117
 Warning extension MultipleStringLiteralsExtended The String "X-Opaque-Id" appears 2 times in the file. 128
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 220
 Warning extension ReturnCountExtended Return count for 'getStatus' method is 44 (max allowed is 1). 222

elasticsearch/src/main/java/org/elasticsearch/http/netty/NettyHttpRequest.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'method' method is 6 (max allowed is 1). 70

elasticsearch/src/main/java/org/elasticsearch/http/netty/NettyHttpServerTransport.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "http.host" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "receive_predictor_size" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "http_server_boss" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "http_server_worker" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 252
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 263
 Warning extension AvoidConstantAsFirstOperandInCondition Constant have to be second operand of '=='. 276
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 281
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 325
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 343
 Warning extension MultipleStringLiteralsExtended The String "Caught exception while handling client http traffic, closing connection {}" appears 2 times in the file. 344

elasticsearch/src/main/java/org/elasticsearch/http/netty/pipelining/OrderedDownstreamChannelEvent.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 52
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 74

elasticsearch/src/main/java/org/elasticsearch/index/AlreadyExpiredException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]/[" appears 2 times in the file. 34

elasticsearch/src/main/java/org/elasticsearch/index/Index.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 32

elasticsearch/src/main/java/org/elasticsearch/index/IndexService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 274
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 297
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 345
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 397
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 409
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 427
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 445

elasticsearch/src/main/java/org/elasticsearch/index/VersionType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No version type match [" appears 2 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 287

elasticsearch/src/main/java/org/elasticsearch/index/aliases/IndexAliasesService.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'aliasFilter' method is 5 (max allowed is 1). 85
 Warning extension MultipleStringLiteralsExtended The String "Unknown alias name was passed to alias Filter" appears 2 times in the file. 93

elasticsearch/src/main/java/org/elasticsearch/index/analysis/AbstractIndexAnalyzerProvider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 36

elasticsearch/src/main/java/org/elasticsearch/index/analysis/AbstractTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 35

elasticsearch/src/main/java/org/elasticsearch/index/analysis/AbstractTokenizerFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 35

elasticsearch/src/main/java/org/elasticsearch/index/analysis/Analysis.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "stopwords" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "_none_" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "stem_exclusion" appears 2 times in the file. 104
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 122
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 224
 Warning extension MultipleStringLiteralsExtended The String "IOException while reading %s_path: %s" appears 2 times in the file. 235
 Warning extension AvoidHidingCauseException Cause exception 'ioe' was lost. 236
 Warning extension AvoidHidingCauseException Cause exception 'ioe' was lost. 284

elasticsearch/src/main/java/org/elasticsearch/index/analysis/AnalysisModule.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 53
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 68
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 83
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 98
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 129
 Warning extension MultipleStringLiteralsExtended The String "type" appears 21 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "org.elasticsearch.index.analysis." appears 4 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "] for [" appears 3 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "] must have a type associated with it" appears 3 times in the file. 194
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 199
 Warning extension MultipleStringLiteralsExtended The String "token filter [" appears 2 times in the file. 253
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 258
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 317
 Warning extension MultipleStringLiteralsExtended The String "tokenizer" appears 2 times in the file. 367
 Warning extension MultipleStringLiteralsExtended The String "failed to find analyzer type [" appears 2 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "] or tokenizer for [" appears 2 times in the file. 372
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 391
 Warning extension MultipleStringLiteralsExtended The String "pattern_replace" appears 2 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "stop" appears 2 times in the file. 424
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 2 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 3 times in the file. 432
 Warning extension MultipleStringLiteralsExtended The String "nGram" appears 2 times in the file. 433
 Warning extension MultipleStringLiteralsExtended The String "ngram" appears 2 times in the file. 434
 Warning extension MultipleStringLiteralsExtended The String "edgeNGram" appears 2 times in the file. 435
 Warning extension MultipleStringLiteralsExtended The String "edge_ngram" appears 2 times in the file. 436
 Warning extension MultipleStringLiteralsExtended The String "keyword" appears 2 times in the file. 450
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 2 times in the file. 453
 Warning extension MultipleStringLiteralsExtended The String "snowball" appears 2 times in the file. 481
 Warning extension MultipleStringLiteralsExtended The String "classic" appears 2 times in the file. 520
 Warning extension MultipleStringLiteralsExtended The String "pattern" appears 2 times in the file. 527
 Warning extension MultipleStringLiteralsExtended The String "thai" appears 2 times in the file. 529

elasticsearch/src/main/java/org/elasticsearch/index/analysis/AnalysisService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 8 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "default_index" appears 4 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "default_search" appears 5 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "default_search_quoted" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer." appears 2 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String ".alias" appears 2 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "default_search_quote" appears 2 times in the file. 254
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 267

elasticsearch/src/main/java/org/elasticsearch/index/analysis/CJKBigramFilterFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "han" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "hiragana" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "katakana" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "hangul" appears 2 times in the file. 58

elasticsearch/src/main/java/org/elasticsearch/index/analysis/CharMatcher.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 36
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 38
 Warning extension ReturnCountExtended Return count for 'build' method is 2 (max allowed is 1). 108

elasticsearch/src/main/java/org/elasticsearch/index/analysis/CustomAnalyzerProvider.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Custom Analyzer [" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 57

elasticsearch/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 62

elasticsearch/src/main/java/org/elasticsearch/index/analysis/EdgeNGramTokenizerFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 53
 Warning extension ReturnCountExtended Return count for 'create' method is 3 (max allowed is 1). 67
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 69

elasticsearch/src/main/java/org/elasticsearch/index/analysis/KeepTypesFilterFactory.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 58

elasticsearch/src/main/java/org/elasticsearch/index/analysis/KeepWordFilterFactory.java

Severity Category Rule Message Line
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 84

elasticsearch/src/main/java/org/elasticsearch/index/analysis/LengthTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 53

elasticsearch/src/main/java/org/elasticsearch/index/analysis/MappingCharFilterFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 62
 Warning extension MultipleStringLiteralsExtended The String "Invalid Mapping Rule : [" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Invalid escaped char in [" appears 2 times in the file. 90

elasticsearch/src/main/java/org/elasticsearch/index/analysis/NGramTokenizerFactory.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 68
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 93
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 106

elasticsearch/src/main/java/org/elasticsearch/index/analysis/NamedAnalyzer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "NamedAnalyzer cannot be wrapped with a wrapper, only a delegator" appears 2 times in the file. 99

elasticsearch/src/main/java/org/elasticsearch/index/analysis/NumericDateAnalyzer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 57
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 59

elasticsearch/src/main/java/org/elasticsearch/index/analysis/NumericDoubleAnalyzer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_double/" appears 2 times in the file. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/index/analysis/NumericFloatAnalyzer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_float/" appears 2 times in the file. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/index/analysis/NumericIntegerAnalyzer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_int/" appears 2 times in the file. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/index/analysis/NumericLongAnalyzer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_long/" appears 2 times in the file. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/index/analysis/NumericTokenizer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 54

elasticsearch/src/main/java/org/elasticsearch/index/analysis/PatternReplaceCharFilterFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "pattern" appears 2 times in the file. 43

elasticsearch/src/main/java/org/elasticsearch/index/analysis/ShingleTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 56

elasticsearch/src/main/java/org/elasticsearch/index/analysis/SnowballAnalyzerProvider.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "English" appears 2 times in the file. 55

elasticsearch/src/main/java/org/elasticsearch/index/analysis/StemmerOverrideTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 64
 Warning extension MultipleStringLiteralsExtended The String "Invalid Keyword override Rule:" appears 2 times in the file. 70

elasticsearch/src/main/java/org/elasticsearch/index/analysis/StemmerTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "porter" appears 2 times in the file. 74
 Warning extension ReturnCountExtended Return count for 'create' method is 3 (max allowed is 1). 78

elasticsearch/src/main/java/org/elasticsearch/index/analysis/SynonymTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "synonyms" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "synonyms_path" appears 2 times in the file. 66
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 108

elasticsearch/src/main/java/org/elasticsearch/index/analysis/TrimTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "update_offsets" appears 2 times in the file. 40

elasticsearch/src/main/java/org/elasticsearch/index/analysis/WordDelimiterTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 66
 Warning extension OverridableMethodInConstructor Overridable method 'getFlag' is called in constructor body. 66
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 68
 Warning extension OverridableMethodInConstructor Overridable method 'getFlag' is called in constructor body. 68
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 70
 Warning extension OverridableMethodInConstructor Overridable method 'getFlag' is called in constructor body. 70
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 72
 Warning extension OverridableMethodInConstructor Overridable method 'getFlag' is called in constructor body. 72
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 74
 Warning extension OverridableMethodInConstructor Overridable method 'getFlag' is called in constructor body. 74
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 76
 Warning extension OverridableMethodInConstructor Overridable method 'getFlag' is called in constructor body. 76
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 78
 Warning extension OverridableMethodInConstructor Overridable method 'getFlag' is called in constructor body. 78
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 80
 Warning extension OverridableMethodInConstructor Overridable method 'getFlag' is called in constructor body. 80
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 82
 Warning extension OverridableMethodInConstructor Overridable method 'getFlag' is called in constructor body. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 112
 Warning extension MultipleStringLiteralsExtended The String "Invalid Mapping Rule : [" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "Invalid escaped char in [" appears 2 times in the file. 168

elasticsearch/src/main/java/org/elasticsearch/index/analysis/compound/HyphenationCompoundWordTokenFilterFactory.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 60
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 61

elasticsearch/src/main/java/org/elasticsearch/index/cache/filter/FilterCacheStats.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 52

elasticsearch/src/main/java/org/elasticsearch/index/cache/filter/weighted/WeightedFilterCache.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 207
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 234
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 255

elasticsearch/src/main/java/org/elasticsearch/index/cache/fixedbitset/FixedBitSetFilterCache.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 234
 Warning extension MoveVariableInsideIf Variable 'start' can be moved inside the block at line '278' to restrict runtime creation. 276
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 281

elasticsearch/src/main/java/org/elasticsearch/index/cache/id/IdCacheStats.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 52

elasticsearch/src/main/java/org/elasticsearch/index/cache/query/QueryCacheStats.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 58

elasticsearch/src/main/java/org/elasticsearch/index/codec/CodecModule.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "] must have a type associated with it" appears 2 times in the file. 106
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 113
 Warning extension MultipleStringLiteralsExtended The String "The specified type [" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "] can't be found" appears 2 times in the file. 113
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 153

elasticsearch/src/main/java/org/elasticsearch/index/codec/CodecService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 52

elasticsearch/src/main/java/org/elasticsearch/index/codec/docvaluesformat/DocValuesFormatService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 46

elasticsearch/src/main/java/org/elasticsearch/index/codec/docvaluesformat/PreBuiltDocValuesFormatProvider.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 43

elasticsearch/src/main/java/org/elasticsearch/index/codec/postingsformat/BloomFilterPostingsFormat.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 108
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 112
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 237
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 334
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 439
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 439

elasticsearch/src/main/java/org/elasticsearch/index/codec/postingsformat/PostingFormats.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59

elasticsearch/src/main/java/org/elasticsearch/index/codec/postingsformat/PostingsFormatService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 46

elasticsearch/src/main/java/org/elasticsearch/index/codec/postingsformat/PreBuiltPostingsFormatProvider.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 41

elasticsearch/src/main/java/org/elasticsearch/index/deletionpolicy/SnapshotDeletionPolicy.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Snapshot deletion policy has not been init yet..." appears 2 times in the file. 111

elasticsearch/src/main/java/org/elasticsearch/index/engine/Engine.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getFromSearcher' method is 2 (max allowed is 1). 192
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 197
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 232
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 238
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 252
 Warning extension EitherLogOrThrow Either log or throw exception. 254
 Warning extension MultipleStringLiteralsExtended The String "failed to get size for [{}]" appears 2 times in the file. 311
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 365
 Warning extension EitherLogOrThrow Either log or throw exception. 374
 Warning extension MultipleStringLiteralsExtended The String "failed to access searcher manager" appears 3 times in the file. 374
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 441
 Warning extension ForbidReturnInFinallyBlock Finally block should not contain return statements. 453
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 463
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 976

elasticsearch/src/main/java/org/elasticsearch/index/engine/EngineConfig.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 90
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 126
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 133
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 139
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 142
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 145
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 147

elasticsearch/src/main/java/org/elasticsearch/index/engine/EngineSearcher.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 53
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 65

elasticsearch/src/main/java/org/elasticsearch/index/engine/FlushingRecoveryCounter.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 50

elasticsearch/src/main/java/org/elasticsearch/index/engine/InternalEngine.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 95
 Warning extension OverridableMethodInConstructor Overridable method 'upgrade3xSegments' is called in constructor body. 119
 Warning extension OverridableMethodInConstructor Calling the method 'createSearcherManager' in constructor body leads to the call of the overridable method 'maybeFailEngine'. 143
 Warning extension LogicConditionNeedOptimization Condition with || at line 306 position 69 need optimization. All method calls are advised to move to end of logic expression. 306
 Warning extension LogicConditionNeedOptimization Condition with && at line 313 position 125 need optimization. All method calls are advised to move to end of logic expression. 313
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 314
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 551
 Warning extension MultipleStringLiteralsExtended The String "delete_by_query" appears 2 times in the file. 552
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 574
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 604
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 645
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 661
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 666
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 676
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 742
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 750
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 774
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 779
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 829
 Warning extension MultipleStringLiteralsExtended The String "Snapshot failed" appears 2 times in the file. 832
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 838
 Warning extension MultipleStringLiteralsExtended The String "Execution failed" appears 3 times in the file. 842
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 849
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 857
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 874
 Warning extension ReturnCountExtended Return count for 'maybeFailEngine' method is 3 (max allowed is 1). 886
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 977
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 988
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1041
 Warning extension MultipleStringLiteralsExtended The String "warmer" appears 3 times in the file. 1057
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1061
 Warning extension EitherLogOrThrow Either log or throw exception. 1076
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1147
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1162
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1166
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1170
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1174
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1224

elasticsearch/src/main/java/org/elasticsearch/index/engine/LiveVersionMap.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bytes=" appears 2 times in the file. 190

elasticsearch/src/main/java/org/elasticsearch/index/engine/RecoveryCounter.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 40

elasticsearch/src/main/java/org/elasticsearch/index/engine/Segment.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 35
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 36
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 39
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 41
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 43
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 69
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 73

elasticsearch/src/main/java/org/elasticsearch/index/engine/SegmentsStats.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 45

elasticsearch/src/main/java/org/elasticsearch/index/engine/ShadowEngine.java

Severity Category Rule Message Line
 Warning extension EitherLogOrThrow Either log or throw exception. 86
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 130
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 140
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 198
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 225

elasticsearch/src/main/java/org/elasticsearch/index/engine/SharedFSEngine.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 45
 Warning extension MultipleStringLiteralsExtended The String "Execution failed" appears 3 times in the file. 47
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 53
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 60

elasticsearch/src/main/java/org/elasticsearch/index/engine/VersionConflictEngineException.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 44
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 48

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/FieldData.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 359
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 376
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 418

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/FieldDataStats.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 69

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/IndexFieldData.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 132
 Warning extension ReturnCountExtended Return count for 'missingObject' method is 13 (max allowed is 1). 165
 Warning extension MultipleStringLiteralsExtended The String "Unsupported reduced type: " appears 2 times in the file. 181

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/IndexFieldDataCache.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 135
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 162
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 193

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/IndexFieldDataService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "string" appears 6 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "float" appears 5 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "double" appears 5 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 5 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "short" appears 5 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "int" appears 5 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "long" appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 6 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "binary" appears 4 times in the file. 85
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 170
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 179
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 198
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 206
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 232
 Warning extension MoveVariableInsideIf Variable 'docValues' can be moved inside the block at line '237' to restrict runtime creation. 234
 Warning extension LogicConditionNeedOptimization Condition with && at line 244 position 95 need optimization. All method calls are advised to move to end of logic expression. 244
 Warning extension MultipleStringLiteralsExtended The String "] for field [" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "=" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String " is deprecated and will not be usable for indices created on or after elasticsearch 1.4.0" appears 2 times in the file. 273

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/IndexNumericFieldData.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 134

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/ScriptDocValues.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 65
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 117
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 164

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/SingletonMultiGeoPointValues.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 40 position 49 need optimization. All method calls are advised to move to end of logic expression. 40
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 58

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/SingletonSortedBinaryDocValues.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 60

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/SingletonSortedNumericDoubleValues.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 43

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/SortableLongBitsNumericDocValues.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 44

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/SortableLongBitsSortedNumericDocValues.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 54

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/SortableLongBitsToNumericDoubleValues.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 44

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/SortableLongBitsToSortedNumericDoubleValues.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 54

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/SortingNumericDocValues.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 33

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/fieldcomparator/BytesRefFieldComparatorSource.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'newComparator' method is 2 (max allowed is 1). 68

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/ordinals/GlobalOrdinalMapping.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'GlobalOrdinalMapping' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 39

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/ordinals/GlobalOrdinalsBuilder.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'startTime' can be moved inside the block at line '58' to restrict runtime creation. 46
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 63

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/ordinals/MultiOrdinals.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 62

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/ordinals/OrdinalsBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 142
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 145
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 147
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 148
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 149
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 151
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 152
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 154
 Warning extension ReturnCountExtended Return count for 'addOrdinal' method is 3 (max allowed is 1). 183
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 363

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/AbstractIndexFieldData.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 43
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 76

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/AbstractIndexOrdinalsFieldData.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 69
 Warning extension MoveVariableInsideIf Variable 'minFrequency' can be moved inside the block at line '116' to restrict runtime creation. 113
 Warning extension MoveVariableInsideIf Variable 'maxFrequency' can be moved inside the block at line '116' to restrict runtime creation. 114

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/BytesBinaryDVAtomicFieldData.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'BytesBinaryDVAtomicFieldData' does not extend anything. 39

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/DocValuesIndexFieldData.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'DocValuesIndexFieldData' does not extend anything. 54
 Warning extension ReturnCountExtended Return count for 'build' method is 3 (max allowed is 1). 94

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/DoubleArrayIndexFieldData.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadDirect' method is 3 (max allowed is 1). 68
 Warning extension ReturnCountExtended Return count for 'withOrdinals' method is 2 (max allowed is 1). 164

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/FSTBytesAtomicFieldData.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 80

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/FSTBytesIndexFieldData.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadDirect' method is 2 (max allowed is 1). 61

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/FloatArrayIndexFieldData.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadDirect' method is 3 (max allowed is 1). 67
 Warning extension ReturnCountExtended Return count for 'withOrdinals' method is 2 (max allowed is 1). 162

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/GeoPointBinaryDVAtomicFieldData.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'GeoPointBinaryDVAtomicFieldData' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 40
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 65

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/GeoPointCompressedAtomicFieldData.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 46
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'WithOrdinals' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 51
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 61
 Warning extension ReturnCountExtended Return count for 'getGeoPointValues' method is 2 (max allowed is 1). 65
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 114
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Single' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 118
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 127

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/GeoPointCompressedIndexFieldData.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadDirect' method is 2 (max allowed is 1). 80

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/GeoPointDoubleArrayAtomicFieldData.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 43
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'WithOrdinals' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 48
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 57
 Warning extension ReturnCountExtended Return count for 'getGeoPointValues' method is 2 (max allowed is 1). 61
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 107
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 118

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/GeoPointDoubleArrayIndexFieldData.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadDirect' method is 2 (max allowed is 1). 62

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/PackedArrayIndexFieldData.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadDirect' method is 2 (max allowed is 1). 86
 Warning extension LogicConditionNeedOptimization Condition with || at line 120 position 50 need optimization. All method calls are advised to move to end of logic expression. 120
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 133
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 250
 Warning extension MoveVariableInsideIf Variable 'bitsRequired' can be moved inside the block at line '328' to restrict runtime creation. 321
 Warning extension MoveVariableInsideIf Variable 'formatAndBits' can be moved inside the block at line '328' to restrict runtime creation. 323
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 332
 Warning extension ReturnCountExtended Return count for 'withOrdinals' method is 2 (max allowed is 1). 411

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/PagedBytesAtomicFieldData.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 33

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/PagedBytesIndexFieldData.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadDirect' method is 2 (max allowed is 1). 61
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 110
 Warning extension ReturnCountExtended Return count for 'estimateStringFieldData' method is 2 (max allowed is 1). 157
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 175
 Warning extension ReturnCountExtended Return count for 'beforeLoad' method is 3 (max allowed is 1). 191

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/ParentChildIndexFieldData.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'beforeCreate' is called in constructor body. 81
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 260
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 268
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 277
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 295
 Warning extension MoveVariableInsideIf Variable 'startTime' can be moved inside the block at line '323' to restrict runtime creation. 297
 Warning extension ReturnCountExtended Return count for 'getOrdinalsValues' method is 2 (max allowed is 1). 351

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/ParentChildIntersectTermsEnum.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'next' method is 2 (max allowed is 1). 89
 Warning extension ReturnCountExtended Return count for 'seekCeil' method is 3 (max allowed is 1). 133
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 303
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 308
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 313
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 318
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 323

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/SortedNumericDVIndexFieldData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Cannot load doc values" appears 3 times in the file. 116

elasticsearch/src/main/java/org/elasticsearch/index/fielddata/plain/SortedSetDVOrdinalsIndexFieldData.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 70

elasticsearch/src/main/java/org/elasticsearch/index/fieldvisitor/AllFieldsVisitor.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 29

elasticsearch/src/main/java/org/elasticsearch/index/gateway/CommitPoints.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 46
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "index_files" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "physical_name" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "length" appears 3 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "checksum" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "translog_files" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 145

elasticsearch/src/main/java/org/elasticsearch/index/gateway/IndexShardGatewayService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "shard closed" appears 6 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 5 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "] with total_size [" appears 3 times in the file. 124
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 156

elasticsearch/src/main/java/org/elasticsearch/index/gateway/local/LocalIndexGateway.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "local" appears 2 times in the file. 42

elasticsearch/src/main/java/org/elasticsearch/index/gateway/local/LocalIndexShardGateway.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "local" appears 2 times in the file. 107
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 123
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 127
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 137
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 156
 Warning extension MoveVariableInsideIf Variable 'index' can be moved inside the block at line '164' to restrict runtime creation. 163
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 251
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 287
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 309
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 372

elasticsearch/src/main/java/org/elasticsearch/index/get/GetResult.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 113
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 159
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 169
 Warning extension MoveVariableInsideIf Variable 'fieldName' can be moved inside the block at line '222' to restrict runtime creation. 221
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 239

elasticsearch/src/main/java/org/elasticsearch/index/get/ShardGetService.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'get' method is 2 (max allowed is 1). 124
 Warning extension ReturnCountExtended Return count for 'innerGet' method is 6 (max allowed is 1). 168
 Warning extension MoveVariableInsideIf Variable 'searchLookup' can be moved inside the block at line '218' to restrict runtime creation. 215
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 240
 Warning extension MultipleStringLiteralsExtended The String "field [" appears 2 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "] isn't a leaf field" appears 2 times in the file. 248
 Warning extension LogicConditionNeedOptimization Condition with || at line 287 position 61 need optimization. All method calls are advised to move to end of logic expression. 287
 Warning extension LogicConditionNeedOptimization Condition with || at line 287 position 85 need optimization. All method calls are advised to move to end of logic expression. 287
 Warning extension MultipleStringLiteralsExtended The String "Failed to get type [" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "] and id [" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "] with includes/excludes set" appears 2 times in the file. 304
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 372

elasticsearch/src/main/java/org/elasticsearch/index/indexing/IndexingStats.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 111
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 250

elasticsearch/src/main/java/org/elasticsearch/index/indexing/ShardIndexingService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 104
 Warning extension MultipleStringLiteralsExtended The String "post listener [{}] failed" appears 6 times in the file. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 129
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 148
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 165
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 189
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 205

elasticsearch/src/main/java/org/elasticsearch/index/indexing/slowlog/ShardSlowLogIndexingService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 96
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 118
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 122
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 126
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 4 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "], " appears 4 times in the file. 152

elasticsearch/src/main/java/org/elasticsearch/index/mapper/ContentPath.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'reset' is called in constructor body. 58

elasticsearch/src/main/java/org/elasticsearch/index/mapper/DocumentMapper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 101
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 103
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 261
 Warning extension OverridableMethodInConstructor Overridable method 'refreshSource' is called in constructor body. 368
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 500
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 554
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 562
 Warning extension LogicConditionNeedOptimization Condition with && at line 568 position 40 need optimization. All method calls are advised to move to end of logic expression. 568
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 630
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 743
 Warning extension MultipleStringLiteralsExtended The String "_" appears 3 times in the file. 761
 Warning extension MultipleStringLiteralsExtended The String "default" appears 3 times in the file. 762
 Warning extension MultipleStringLiteralsExtended The String "transform" appears 2 times in the file. 780
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 2 times in the file. 850
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 855

elasticsearch/src/main/java/org/elasticsearch/index/mapper/DocumentMapperParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Analyzer [" appears 4 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "] not found for search_analyzer setting on root type [" appears 2 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "_meta" appears 2 times in the file. 272
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 331

elasticsearch/src/main/java/org/elasticsearch/index/mapper/FieldMappers.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 41

elasticsearch/src/main/java/org/elasticsearch/index/mapper/FieldMappersLookup.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 101
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 102
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 105
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 109
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 126

elasticsearch/src/main/java/org/elasticsearch/index/mapper/MapperService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_default_" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "}" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "{\n" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 164
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 178
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 230
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 268
 Warning extension ReturnCountExtended Return count for 'merge' method is 2 (max allowed is 1). 313
 Warning extension MultipleStringLiteralsExtended The String "mapping type name [" appears 3 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 327
 Warning extension ReturnCountExtended Return count for 'searchFilter' method is 7 (max allowed is 1). 476
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 515
 Warning extension ReturnCountExtended Return count for 'smartNameObjectMapper' method is 3 (max allowed is 1). 650
 Warning extension ReturnCountExtended Return count for 'smartNameFieldMappers' method is 3 (max allowed is 1). 732
 Warning extension ReturnCountExtended Return count for 'smartNameFieldMappers' method is 4 (max allowed is 1). 768
 Warning extension ReturnCountExtended Return count for 'smartName' method is 3 (max allowed is 1). 792
 Warning extension ReturnCountExtended Return count for 'smartName' method is 5 (max allowed is 1). 840
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1145

elasticsearch/src/main/java/org/elasticsearch/index/mapper/ObjectMappers.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39

elasticsearch/src/main/java/org/elasticsearch/index/mapper/ParseContext.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 421

elasticsearch/src/main/java/org/elasticsearch/index/mapper/ParsedDocument.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 35

elasticsearch/src/main/java/org/elasticsearch/index/mapper/SourceToParse.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 48
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 62
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 68

elasticsearch/src/main/java/org/elasticsearch/index/mapper/Uid.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 182

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/AbstractFieldMapper.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'defaultPostingFormat' is called in constructor body. 302
 Warning extension OverridableMethodInConstructor Overridable method 'defaultFieldDataType' is called in constructor body. 313
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 408
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 409
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 499
 Warning extension MultipleStringLiteralsExtended The String "mapper [" appears 17 times in the file. 567
 Warning extension MultipleStringLiteralsExtended The String "default" appears 9 times in the file. 603
 Warning extension MultipleStringLiteralsExtended The String "] has different index_analyzer" appears 3 times in the file. 605
 Warning extension MultipleStringLiteralsExtended The String "] has different similarity" appears 3 times in the file. 619
 Warning extension LogicConditionNeedOptimization Condition with || at line 699 position 85 need optimization. All method calls are advised to move to end of logic expression. 699
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 2 times in the file. 715
 Warning extension MultipleStringLiteralsExtended The String "_" appears 5 times in the file. 719
 Warning extension MultipleStringLiteralsExtended The String "search_analyzer" appears 2 times in the file. 720
 Warning extension MultipleStringLiteralsExtended The String "index_analyzer" appears 2 times in the file. 725
 Warning extension MultipleStringLiteralsExtended The String "postings_format" appears 2 times in the file. 744
 Warning extension MultipleStringLiteralsExtended The String "similarity" appears 2 times in the file. 767
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 775
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 804
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 912
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 913
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 915

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/BinaryFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "binary" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "compress" appears 3 times in the file. 109
 Warning extension LogicConditionNeedOptimization Condition with && at line 109 position 49 need optimization. All method calls are advised to move to end of logic expression. 109
 Warning extension MultipleStringLiteralsExtended The String "compress_threshold" appears 3 times in the file. 111
 Warning extension LogicConditionNeedOptimization Condition with && at line 111 position 66 need optimization. All method calls are advised to move to end of logic expression. 111
 Warning extension MoveVariableInsideIf Variable 'sourceMergeWith' can be moved inside the block at line '248' to restrict runtime creation. 247
 Warning extension OverridableMethodInConstructor Overridable method 'add' is called in constructor body. 273

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/BooleanFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "T" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "F" appears 2 times in the file. 73
 Warning extension MoveVariableInsideIf Variable 'propNode' can be moved inside the block at line '113' to restrict runtime creation. 112
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 113
 Warning extension ReturnCountExtended Return count for 'indexedValueForSearch' method is 4 (max allowed is 1). 173

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/ByteFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 2 times in the file. 64
 Warning extension LogicConditionNeedOptimization Condition with && at line 92 position 57 need optimization. All method calls are advised to move to end of logic expression. 92
 Warning extension MoveVariableInsideIf Variable 'propNode' can be moved inside the block at line '110' to restrict runtime creation. 109
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 359

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/CompletionFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "completion" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 2 times in the file. 182
 Warning extension MoveVariableInsideIf Variable 'configs' can be moved inside the block at line '259' to restrict runtime creation. 257
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 303
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 491
 Warning extension MultipleStringLiteralsExtended The String "mapper [" appears 4 times in the file. 500
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 518

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/DateFieldMapper.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 134 position 57 need optimization. All method calls are advised to move to end of logic expression. 134
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "numeric_resolution" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "locale" appears 4 times in the file. 169
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 192
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 302
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 362
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 363
 Warning extension ReturnCountExtended Return count for 'innerRangeFilter' method is 2 (max allowed is 1). 397
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 440
 Warning extension ReturnCountExtended Return count for 'hasDateExpressionWithNoRounding' method is 3 (max allowed is 1). 449
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 533
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 591
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 614
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 619
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 681

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/DoubleFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "double" appears 2 times in the file. 68
 Warning extension LogicConditionNeedOptimization Condition with && at line 96 position 57 need optimization. All method calls are advised to move to end of logic expression. 96
 Warning extension MoveVariableInsideIf Variable 'propNode' can be moved inside the block at line '113' to restrict runtime creation. 112
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 365
 Warning extension OverridableMethodInConstructor Overridable method 'add' is called in constructor body. 411

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/FloatFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "float" appears 2 times in the file. 69
 Warning extension LogicConditionNeedOptimization Condition with && at line 97 position 57 need optimization. All method calls are advised to move to end of logic expression. 97
 Warning extension MoveVariableInsideIf Variable 'propNode' can be moved inside the block at line '114' to restrict runtime creation. 113
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 371
 Warning extension OverridableMethodInConstructor Overridable method 'add' is called in constructor body. 417

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/IntegerFieldMapper.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 93 position 57 need optimization. All method calls are advised to move to end of logic expression. 93
 Warning extension MoveVariableInsideIf Variable 'propNode' can be moved inside the block at line '110' to restrict runtime creation. 109
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 362

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/LongFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 65
 Warning extension LogicConditionNeedOptimization Condition with && at line 93 position 57 need optimization. All method calls are advised to move to end of logic expression. 93
 Warning extension MoveVariableInsideIf Variable 'propNode' can be moved inside the block at line '110' to restrict runtime creation. 109
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 344

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/Murmur3FieldMapper.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 60 position 57 need optimization. All method calls are advised to move to end of logic expression. 60

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/NumberFieldMapper.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'maxPrecisionStep' is called in constructor body. 196
 Warning extension ReturnCountExtended Return count for 'fieldDataTermsFilter' method is 2 (max allowed is 1). 308
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 314
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 323
 Warning extension OverridableMethodInConstructor Overridable method 'add' is called in constructor body. 497

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/ShortFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "short" appears 2 times in the file. 66
 Warning extension LogicConditionNeedOptimization Condition with && at line 95 position 57 need optimization. All method calls are advised to move to end of logic expression. 95
 Warning extension MoveVariableInsideIf Variable 'propNode' can be moved inside the block at line '112' to restrict runtime creation. 111
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 360

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/StringFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "search_quote_analyzer" appears 4 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "position_offset_gap" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "ignore_above" appears 2 times in the file. 181
 Warning extension ReturnCountExtended Return count for 'parseCreateFieldForString' method is 3 (max allowed is 1). 309
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 366

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/TokenCountFieldMapper.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 80 position 57 need optimization. All method calls are advised to move to end of logic expression. 80
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 2 times in the file. 100
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 129

elasticsearch/src/main/java/org/elasticsearch/index/mapper/core/TypeParsers.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 54
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "No type specified for property [" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "]" appears 11 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "No handler for type [" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "] declared on field [" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "omit_norms" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "similarity" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "norms" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "Analyzer [" appears 3 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "] not found for field [" appears 3 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "no" appears 3 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 2 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "] for field [" appears 2 times in the file. 329

elasticsearch/src/main/java/org/elasticsearch/index/mapper/geo/GeoPointFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "geohash" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "lat_lon" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "geohash_prefix" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "precision_step" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "geohash_precision" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "validate" appears 3 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "validate_lon" appears 2 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "validate_lat" appears 2 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "normalize" appears 3 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "normalize_lat" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "normalize_lon" appears 2 times in the file. 245
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 296
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 297
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 298
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 299
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 301
 Warning extension MultipleStringLiteralsExtended The String "] for " appears 2 times in the file. 562
 Warning extension MultipleStringLiteralsExtended The String "mapper [" appears 9 times in the file. 620
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 688
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 702

elasticsearch/src/main/java/org/elasticsearch/index/mapper/geo/GeoShapeFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "50m" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 207
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 208
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 209
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 210
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 212
 Warning extension OverridableMethodInConstructor Overridable method 'resolveStrategy' is called in constructor body. 220
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 262
 Warning extension MultipleStringLiteralsExtended The String "mapper [" appears 4 times in the file. 271
 Warning extension MoveVariableInsideIf Variable 'fieldMergeWith' can be moved inside the block at line '275' to restrict runtime creation. 274

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/AllFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "auto_boost" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 2 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "_" appears 5 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "search_analyzer" appears 2 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "index_analyzer" appears 2 times in the file. 318
 Warning extension MultipleStringLiteralsExtended The String "similarity" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 342
 Warning extension LogicConditionNeedOptimization Condition with && at line 350 position 68 need optimization. All method calls are advised to move to end of logic expression. 350

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/AnalyzerMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_analyzer" appears 3 times in the file. 40
 Warning extension MoveVariableInsideIf Variable 'fieldNode' can be moved inside the block at line '74' to restrict runtime creation. 73
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 74
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 107

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/BoostFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_boost" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 101
 Warning extension MoveVariableInsideIf Variable 'propNode' can be moved inside the block at line '107' to restrict runtime creation. 106
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 107
 Warning extension ReturnCountExtended Return count for 'toXContent' method is 2 (max allowed is 1). 283
 Warning extension LogicConditionNeedOptimization Condition with && at line 287 position 61 need optimization. All method calls are advised to move to end of logic expression. 287
 Warning extension LogicConditionNeedOptimization Condition with && at line 289 position 67 need optimization. All method calls are advised to move to end of logic expression. 289
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 307

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/FieldNamesFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_field_names" appears 2 times in the file. 67
 Warning extension MoveVariableInsideIf Variable 'fieldNode' can be moved inside the block at line '126' to restrict runtime creation. 125
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 126
 Warning extension LogicConditionNeedOptimization Condition with && at line 265 position 80 need optimization. All method calls are advised to move to end of logic expression. 265
 Warning extension MoveVariableInsideIf Variable 'fieldNamesMapperMergeWith' can be moved inside the block at line '284' to restrict runtime creation. 283

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/IdFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 64
 Warning extension MoveVariableInsideIf Variable 'fieldNode' can be moved inside the block at line '113' to restrict runtime creation. 112
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 113
 Warning extension LogicConditionNeedOptimization Condition with || at line 172 position 32 need optimization. All method calls are advised to move to end of logic expression. 172
 Warning extension LogicConditionNeedOptimization Condition with || at line 181 position 32 need optimization. All method calls are advised to move to end of logic expression. 181
 Warning extension LogicConditionNeedOptimization Condition with || at line 189 position 32 need optimization. All method calls are advised to move to end of logic expression. 189
 Warning extension ReturnCountExtended Return count for 'prefixQuery' method is 2 (max allowed is 1). 196
 Warning extension LogicConditionNeedOptimization Condition with || at line 197 position 32 need optimization. All method calls are advised to move to end of logic expression. 197
 Warning extension LogicConditionNeedOptimization Condition with || at line 221 position 32 need optimization. All method calls are advised to move to end of logic expression. 221
 Warning extension ReturnCountExtended Return count for 'regexpQuery' method is 2 (max allowed is 1). 236
 Warning extension LogicConditionNeedOptimization Condition with || at line 237 position 32 need optimization. All method calls are advised to move to end of logic expression. 237
 Warning extension LogicConditionNeedOptimization Condition with || at line 261 position 32 need optimization. All method calls are advised to move to end of logic expression. 261
 Warning extension ReturnCountExtended Return count for 'toXContent' method is 2 (max allowed is 1). 329
 Warning extension LogicConditionNeedOptimization Condition with && at line 335 position 16 need optimization. All method calls are advised to move to end of logic expression. 335
 Warning extension LogicConditionNeedOptimization Condition with && at line 336 position 16 need optimization. All method calls are advised to move to end of logic expression. 336
 Warning extension MultipleStringLiteralsExtended The String "postings_format" appears 2 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 377

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/IndexFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_index" appears 2 times in the file. 50
 Warning extension MoveVariableInsideIf Variable 'fieldNode' can be moved inside the block at line '101' to restrict runtime creation. 100
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 101
 Warning extension LogicConditionNeedOptimization Condition with && at line 197 position 85 need optimization. All method calls are advised to move to end of logic expression. 197
 Warning extension LogicConditionNeedOptimization Condition with && at line 197 position 127 need optimization. All method calls are advised to move to end of logic expression. 197
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 209
 Warning extension MoveVariableInsideIf Variable 'indexFieldMapperMergeWith' can be moved inside the block at line '221' to restrict runtime creation. 220

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/ParentFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_parent" appears 4 times in the file. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 87
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 88
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 4 times in the file. 132
 Warning extension MoveVariableInsideIf Variable 'parsedParentId' can be moved inside the block at line '207' to restrict runtime creation. 206
 Warning extension ReturnCountExtended Return count for 'termFilter' method is 4 (max allowed is 1). 272
 Warning extension ReturnCountExtended Return count for 'termsFilter' method is 2 (max allowed is 1). 303

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/RoutingFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_routing" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "required" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 108
 Warning extension ReturnCountExtended Return count for 'toXContent' method is 2 (max allowed is 1). 214
 Warning extension LogicConditionNeedOptimization Condition with && at line 219 position 67 need optimization. All method calls are advised to move to end of logic expression. 219
 Warning extension LogicConditionNeedOptimization Condition with && at line 219 position 100 need optimization. All method calls are advised to move to end of logic expression. 219

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/SizeFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_size" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "store" appears 2 times in the file. 88
 Warning extension MoveVariableInsideIf Variable 'sizeFieldMapperMergeWith' can be moved inside the block at line '177' to restrict runtime creation. 176

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/SourceFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "compress" appears 3 times in the file. 148
 Warning extension LogicConditionNeedOptimization Condition with && at line 148 position 56 need optimization. All method calls are advised to move to end of logic expression. 148
 Warning extension MultipleStringLiteralsExtended The String "compress_threshold" appears 3 times in the file. 150
 Warning extension LogicConditionNeedOptimization Condition with && at line 150 position 66 need optimization. All method calls are advised to move to end of logic expression. 150
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "includes" appears 3 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "excludes" appears 3 times in the file. 167
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 350
 Warning extension MoveVariableInsideIf Variable 'sourceMergeWith' can be moved inside the block at line '415' to restrict runtime creation. 414

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/TTLFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_ttl" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 108
 Warning extension LogicConditionNeedOptimization Condition with && at line 211 position 85 need optimization. All method calls are advised to move to end of logic expression. 211
 Warning extension LogicConditionNeedOptimization Condition with && at line 254 position 54 need optimization. All method calls are advised to move to end of logic expression. 254

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/TimestampFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "ignore_missing" appears 2 times in the file. 162
 Warning extension ReturnCountExtended Return count for 'toXContent' method is 2 (max allowed is 1). 280
 Warning extension LogicConditionNeedOptimization Condition with && at line 284 position 85 need optimization. All method calls are advised to move to end of logic expression. 284
 Warning extension LogicConditionNeedOptimization Condition with && at line 285 position 67 need optimization. All method calls are advised to move to end of logic expression. 285
 Warning extension LogicConditionNeedOptimization Condition with && at line 285 position 103 need optimization. All method calls are advised to move to end of logic expression. 285
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 317
 Warning extension LogicConditionNeedOptimization Condition with && at line 347 position 73 need optimization. All method calls are advised to move to end of logic expression. 347
 Warning extension MultipleStringLiteralsExtended The String "Cannot update path in _timestamp value. Value is " appears 2 times in the file. 359

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/TypeFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_type" appears 2 times in the file. 58

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/UidFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 2 times in the file. 55
 Warning extension ReturnCountExtended Return count for 'toXContent' method is 2 (max allowed is 1). 204
 Warning extension MultipleStringLiteralsExtended The String "postings_format" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 241
 Warning extension MoveVariableInsideIf Variable 'fieldMergeWith' can be moved inside the block at line '254' to restrict runtime creation. 252

elasticsearch/src/main/java/org/elasticsearch/index/mapper/internal/VersionFieldMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_version" appears 2 times in the file. 44
 Warning extension MoveVariableInsideIf Variable 'fieldNode' can be moved inside the block at line '81' to restrict runtime creation. 80

elasticsearch/src/main/java/org/elasticsearch/index/mapper/ip/IpFieldMapper.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'longIp'. 76
 Warning extension MultipleStringLiteralsExtended The String "." appears 3 times in the file. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 80
 Warning extension MultipleStringLiteralsExtended The String "failed to parse ip [" appears 3 times in the file. 85
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 93
 Warning extension LogicConditionNeedOptimization Condition with && at line 127 position 57 need optimization. All method calls are advised to move to end of logic expression. 127
 Warning extension MoveVariableInsideIf Variable 'propNode' can be moved inside the block at line '145' to restrict runtime creation. 144
 Warning extension MultipleStringLiteralsExtended The String "null_value" appears 2 times in the file. 145
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 156
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 158
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 340

elasticsearch/src/main/java/org/elasticsearch/index/mapper/object/DynamicTemplate.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 2 times in the file. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 90
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 92
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 104
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 106
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 108
 Warning extension ReturnCountExtended Return count for 'match' method is 5 (max allowed is 1). 128
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "{dynamic_type}" appears 4 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "{dynamicType}" appears 4 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "{name}" appears 3 times in the file. 174

elasticsearch/src/main/java/org/elasticsearch/index/mapper/object/ObjectMapper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "object" appears 3 times in the file. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 87
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 89
 Warning extension ReturnCountExtended Return count for 'parseObjectOrDocumentTypeProperties' method is 4 (max allowed is 1). 196
 Warning extension MultipleStringLiteralsExtended The String "dynamic" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 3 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 208
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 211
 Warning extension MultipleStringLiteralsExtended The String "include_in_all" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "]" appears 8 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "include_in_parent" appears 2 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "include_in_root" appears 2 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "object mapping for [" appears 3 times in the file. 451
 Warning extension MultipleStringLiteralsExtended The String "] tried to parse field [" appears 2 times in the file. 451
 Warning extension LogicConditionNeedOptimization Condition with || at line 518 position 48 need optimization. All method calls are advised to move to end of logic expression. 518
 Warning extension MultipleStringLiteralsExtended The String "object mapping [" appears 4 times in the file. 548
 Warning extension LogicConditionNeedOptimization Condition with && at line 574 position 68 need optimization. All method calls are advised to move to end of logic expression. 574
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 737
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 758
 Warning extension MultipleStringLiteralsExtended The String "long" appears 3 times in the file. 768
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 774
 Warning extension MultipleStringLiteralsExtended The String "double" appears 3 times in the file. 780
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 786

elasticsearch/src/main/java/org/elasticsearch/index/mapper/object/RootObjectMapper.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49
 Warning extension ReturnCountExtended Return count for 'processField' method is 4 (max allowed is 1). 144
 Warning extension MultipleStringLiteralsExtended The String "dynamic_date_formats" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "dynamic_templates" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "date_detection" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "numeric_detection" appears 2 times in the file. 185
 Warning extension MoveVariableInsideIf Variable 'mergeWithObject' can be moved inside the block at line '256' to restrict runtime creation. 255

elasticsearch/src/main/java/org/elasticsearch/index/merge/MergeStats.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 46

elasticsearch/src/main/java/org/elasticsearch/index/merge/policy/AbstractMergePolicyProvider.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 49

elasticsearch/src/main/java/org/elasticsearch/index/merge/policy/ElasticsearchMergePolicy.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'filter' method is 3 (max allowed is 1). 71
 Warning extension ReturnCountExtended Return count for 'findForcedMerges' method is 3 (max allowed is 1). 202

elasticsearch/src/main/java/org/elasticsearch/index/merge/policy/LogByteSizeMergePolicyProvider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 85

elasticsearch/src/main/java/org/elasticsearch/index/merge/policy/LogDocMergePolicyProvider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 43
 Warning extension MultipleStringLiteralsExtended The String "index.merge.policy.max_merge_docs" appears 2 times in the file. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 44
 Warning extension MultipleStringLiteralsExtended The String "index.merge.policy.min_merge_docs" appears 2 times in the file. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension MultipleStringLiteralsExtended The String "index.merge.policy.merge_factor" appears 2 times in the file. 45
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 82

elasticsearch/src/main/java/org/elasticsearch/index/merge/policy/MergePolicyModule.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 31
 Warning extension MultipleStringLiteralsExtended The String "index.merge.policy.type" appears 2 times in the file. 31

elasticsearch/src/main/java/org/elasticsearch/index/merge/policy/TieredMergePolicyProvider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 38
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 39
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 41
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 101
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 104

elasticsearch/src/main/java/org/elasticsearch/index/merge/scheduler/ConcurrentMergeSchedulerProvider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 53
 Warning extension MultipleStringLiteralsExtended The String "index.merge.scheduler." appears 2 times in the file. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 54
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 107
 Warning extension MultipleStringLiteralsExtended The String "updating [{}] from [{}] to [{}]" appears 2 times in the file. 163

elasticsearch/src/main/java/org/elasticsearch/index/percolator/PercolatorQueriesRegistry.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "failed to parse query [" appears 2 times in the file. 166
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 195
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 203
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 221
 Warning extension MultipleStringLiteralsExtended The String "percolator_load_queries" appears 2 times in the file. 278
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 294

elasticsearch/src/main/java/org/elasticsearch/index/percolator/QueriesLoaderCollector.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 84

elasticsearch/src/main/java/org/elasticsearch/index/percolator/stats/PercolateStats.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 61
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 68

elasticsearch/src/main/java/org/elasticsearch/index/percolator/stats/ShardPercolateService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/index/query/AndFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 46
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 50
 Warning extension MoveVariableInsideIf Variable 'currentFieldName' can be moved inside the block at line '70' to restrict runtime creation. 60

elasticsearch/src/main/java/org/elasticsearch/index/query/BaseFilterBuilder.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 42
 Warning extension MultipleStringLiteralsExtended The String "Failed to build filter" appears 2 times in the file. 43
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 58

elasticsearch/src/main/java/org/elasticsearch/index/query/BaseQueryBuilder.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 42
 Warning extension MultipleStringLiteralsExtended The String "Failed to build query" appears 2 times in the file. 43
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 58

elasticsearch/src/main/java/org/elasticsearch/index/query/BoolFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 49
 Warning extension MultipleStringLiteralsExtended The String "must" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "must_not" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "mustNot" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "should" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "[bool] filter does not support [" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 86

elasticsearch/src/main/java/org/elasticsearch/index/query/BoolQueryParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 55
 Warning extension MultipleStringLiteralsExtended The String "must" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "must_not" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "mustNot" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "should" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "[bool] query does not support [" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 88

elasticsearch/src/main/java/org/elasticsearch/index/query/BoostingQueryBuilder.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 49

elasticsearch/src/main/java/org/elasticsearch/index/query/BoostingQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 36
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 42
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 46
 Warning extension MultipleStringLiteralsExtended The String "[boosting] query does not support [" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 69

elasticsearch/src/main/java/org/elasticsearch/index/query/CommonTermsQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 57
 Warning extension MultipleStringLiteralsExtended The String "minimum_should_match" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "minimumShouldMatch" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "[common] query does not support [" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "or" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "and" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "[common] query requires operator to be either 'and' or 'or', not [" appears 2 times in the file. 130
 Warning extension ReturnCountExtended Return count for 'parseQueryString' method is 2 (max allowed is 1). 206

elasticsearch/src/main/java/org/elasticsearch/index/query/ConstantScoreQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 46
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 50
 Warning extension MultipleStringLiteralsExtended The String "[constant_score] query does not support [" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 74

elasticsearch/src/main/java/org/elasticsearch/index/query/DisMaxQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 46
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 50
 Warning extension MultipleStringLiteralsExtended The String "queries" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "[dis_max] query does not support [" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 73

elasticsearch/src/main/java/org/elasticsearch/index/query/ExistsFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 46
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 52
 Warning extension ReturnCountExtended Return count for 'newFilter' method is 2 (max allowed is 1). 85

elasticsearch/src/main/java/org/elasticsearch/index/query/FQueryFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 49
 Warning extension MultipleStringLiteralsExtended The String "[fquery] filter does not support [" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 68

elasticsearch/src/main/java/org/elasticsearch/index/query/FieldMaskingSpanQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension MultipleStringLiteralsExtended The String "[field_masking_span] query does not support [" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 71

elasticsearch/src/main/java/org/elasticsearch/index/query/FilterBuilders.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 570

elasticsearch/src/main/java/org/elasticsearch/index/query/FilteredQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 41
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 47
 Warning extension ReturnCountExtended Return count for 'parse' method is 6 (max allowed is 1). 51
 Warning extension MultipleStringLiteralsExtended The String "[filtered] query does not support [" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "random_access_" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "randomAccess" appears 2 times in the file. 90
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 120

elasticsearch/src/main/java/org/elasticsearch/index/query/FuzzyLikeThisFieldQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 56
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 62
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 66
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 116

elasticsearch/src/main/java/org/elasticsearch/index/query/FuzzyLikeThisQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 54
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 60
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 64
 Warning extension MultipleStringLiteralsExtended The String "[flt] query does not support [" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 103

elasticsearch/src/main/java/org/elasticsearch/index/query/FuzzyQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 47
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53

elasticsearch/src/main/java/org/elasticsearch/index/query/GeoBoundingBoxFilterParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_" appears 4 times in the file. 50
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 63
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69
 Warning extension MultipleStringLiteralsExtended The String "memory" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 132
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 162
 Warning extension MoveVariableInsideIf Variable 'geoMapper' can be moved inside the block at line '182' to restrict runtime creation. 179
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 179

elasticsearch/src/main/java/org/elasticsearch/index/query/GeoDistanceFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 53
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 102
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 165

elasticsearch/src/main/java/org/elasticsearch/index/query/GeoDistanceRangeFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 53
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 206

elasticsearch/src/main/java/org/elasticsearch/index/query/GeoPolygonFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 58
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 64
 Warning extension MultipleStringLiteralsExtended The String "[geo_polygon] filter does not support [" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "too few points defined for geo_polygon filter" appears 2 times in the file. 127

elasticsearch/src/main/java/org/elasticsearch/index/query/GeoShapeFilterParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "shape" appears 2 times in the file. 68
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 73
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "[geo_shape] filter does not support [" appears 2 times in the file. 139

elasticsearch/src/main/java/org/elasticsearch/index/query/GeoShapeQueryParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "shape" appears 2 times in the file. 48
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension MultipleStringLiteralsExtended The String "[geo_shape] query does not support [" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 117

elasticsearch/src/main/java/org/elasticsearch/index/query/GeohashCellFilter.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Builder' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 123
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 200
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 206
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 263
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 281

elasticsearch/src/main/java/org/elasticsearch/index/query/HasChildFilterParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 62
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 66
 Warning extension MultipleStringLiteralsExtended The String "[has_child] filter does not support [" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 100

elasticsearch/src/main/java/org/elasticsearch/index/query/HasChildQueryParser.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 68
 Warning extension MultipleStringLiteralsExtended The String "[has_child] query does not support [" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "[has_child] Type [" appears 2 times in the file. 145

elasticsearch/src/main/java/org/elasticsearch/index/query/HasParentFilterParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 57
 Warning extension MultipleStringLiteralsExtended The String "[has_parent] filter does not support [" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 88

elasticsearch/src/main/java/org/elasticsearch/index/query/HasParentQueryParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 61
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 65
 Warning extension MultipleStringLiteralsExtended The String "[has_parent] query does not support [" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "score" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "none" appears 2 times in the file. 104
 Warning extension ReturnCountExtended Return count for 'createParentQuery' method is 3 (max allowed is 1). 149

elasticsearch/src/main/java/org/elasticsearch/index/query/IdsFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 42
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 52
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "[ids] filter does not support [" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 84

elasticsearch/src/main/java/org/elasticsearch/index/query/IdsQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 46
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 52
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 56
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "[ids] query does not support [" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 95

elasticsearch/src/main/java/org/elasticsearch/index/query/IndexQueryParserModule.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "] must be provided with a type" appears 2 times in the file. 161

elasticsearch/src/main/java/org/elasticsearch/index/query/IndexQueryParserService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 210
 Warning extension MultipleStringLiteralsExtended The String "Failed to parse" appears 5 times in the file. 211
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 230
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 250
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 266
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 267
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 369

elasticsearch/src/main/java/org/elasticsearch/index/query/IndicesFilterBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "no_match_filter" appears 2 times in the file. 77

elasticsearch/src/main/java/org/elasticsearch/index/query/IndicesFilterParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 2 times in the file. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension MultipleStringLiteralsExtended The String "no_match_filter" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "[indices] filter does not support [" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "[indices] indices or index already specified" appears 2 times in the file. 91

elasticsearch/src/main/java/org/elasticsearch/index/query/IndicesQueryBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "no_match_query" appears 2 times in the file. 77

elasticsearch/src/main/java/org/elasticsearch/index/query/IndicesQueryParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 2 times in the file. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 52
 Warning extension MultipleStringLiteralsExtended The String "no_match_query" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "[indices] query does not support [" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "[indices] indices or index already specified" appears 2 times in the file. 84

elasticsearch/src/main/java/org/elasticsearch/index/query/LimitFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 33
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39

elasticsearch/src/main/java/org/elasticsearch/index/query/MatchAllFilterBuilder.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 36

elasticsearch/src/main/java/org/elasticsearch/index/query/MatchAllFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 43
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 51
 Warning extension LogicConditionNeedOptimization Condition with && at line 51 position 80 need optimization. All method calls are advised to move to end of logic expression. 51

elasticsearch/src/main/java/org/elasticsearch/index/query/MatchAllQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 38
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 48
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 55
 Warning extension LogicConditionNeedOptimization Condition with && at line 55 position 80 need optimization. All method calls are advised to move to end of logic expression. 55

elasticsearch/src/main/java/org/elasticsearch/index/query/MatchQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 42
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension MultipleStringLiteralsExtended The String "match_phrase" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "matchPhrase" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "match_phrase_prefix" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "matchPhrasePrefix" appears 2 times in the file. 49
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 54
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 121

elasticsearch/src/main/java/org/elasticsearch/index/query/MissingFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 50
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 56
 Warning extension ReturnCountExtended Return count for 'newFilter' method is 4 (max allowed is 1). 95
 Warning extension MoveVariableInsideIf Variable 'fieldNamesMapper' can be moved inside the block at line '121' to restrict runtime creation. 100

elasticsearch/src/main/java/org/elasticsearch/index/query/MoreLikeThisFieldQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 46
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 52
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 57
 Warning extension MultipleStringLiteralsExtended The String "[mlt_field] query does not support [" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 113
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 157

elasticsearch/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Item' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 50
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 3 times in the file. 100

elasticsearch/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "minimum_should_match" appears 2 times in the file. 69
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 79
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 90
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 94
 Warning extension MultipleStringLiteralsExtended The String "[mlt] query does not support [" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 149
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 197

elasticsearch/src/main/java/org/elasticsearch/index/query/MultiMatchQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 43
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 55
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 81

elasticsearch/src/main/java/org/elasticsearch/index/query/NestedFilterParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 53
 Warning extension MultipleStringLiteralsExtended The String "[nested] filter does not support [" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 76

elasticsearch/src/main/java/org/elasticsearch/index/query/NestedQueryParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension MultipleStringLiteralsExtended The String "[nested] query does not support [" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 78
 Warning extension ReturnCountExtended Return count for 'build' method is 2 (max allowed is 1). 135

elasticsearch/src/main/java/org/elasticsearch/index/query/NotFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 43
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 47

elasticsearch/src/main/java/org/elasticsearch/index/query/NumericRangeFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 42
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension MultipleStringLiteralsExtended The String "[numeric_range] filter does not support [" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 96

elasticsearch/src/main/java/org/elasticsearch/index/query/OrFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 46
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 50
 Warning extension MoveVariableInsideIf Variable 'currentFieldName' can be moved inside the block at line '70' to restrict runtime creation. 60

elasticsearch/src/main/java/org/elasticsearch/index/query/PrefixFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 42
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 89

elasticsearch/src/main/java/org/elasticsearch/index/query/PrefixQueryParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 2 times in the file. 41
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 43
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 104

elasticsearch/src/main/java/org/elasticsearch/index/query/QueryBuilders.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 825

elasticsearch/src/main/java/org/elasticsearch/index/query/QueryFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 36
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 42

elasticsearch/src/main/java/org/elasticsearch/index/query/QueryParseContext.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 92
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 104
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 106
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 110
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 112
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 114
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 116
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 120
 Warning extension ReturnCountExtended Return count for 'cacheFilter' method is 2 (max allowed is 1). 212
 Warning extension MultipleStringLiteralsExtended The String "[_na] query malformed, no field after start_object" appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 300
 Warning extension ReturnCountExtended Return count for 'parseInnerFilter' method is 2 (max allowed is 1). 321
 Warning extension MultipleStringLiteralsExtended The String "[_na] filter malformed, no field after start_object" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "No filter registered for [" appears 2 times in the file. 347
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 372
 Warning extension LogicConditionNeedOptimization Condition with || at line 372 position 67 need optimization. All method calls are advised to move to end of logic expression. 372
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 443

elasticsearch/src/main/java/org/elasticsearch/index/query/QueryStringQueryParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 66
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 70
 Warning extension MultipleStringLiteralsExtended The String "[query_string] query does not support [" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "] not found" appears 2 times in the file. 148
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 202

elasticsearch/src/main/java/org/elasticsearch/index/query/RangeFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 47
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "[range] filter does not support [" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 108
 Warning extension LogicConditionNeedOptimization Condition with && at line 142 position 77 need optimization. All method calls are advised to move to end of logic expression. 142
 Warning extension MultipleStringLiteralsExtended The String "[range] time_zone when using ms since epoch format as it's UTC based can not be applied to [" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "[range] time_zone can not be applied to non date field [" appears 2 times in the file. 148
 Warning extension LogicConditionNeedOptimization Condition with && at line 161 position 77 need optimization. All method calls are advised to move to end of logic expression. 161

elasticsearch/src/main/java/org/elasticsearch/index/query/RangeQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 45
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 111
 Warning extension LogicConditionNeedOptimization Condition with && at line 128 position 73 need optimization. All method calls are advised to move to end of logic expression. 128

elasticsearch/src/main/java/org/elasticsearch/index/query/RegexpFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 43
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 119

elasticsearch/src/main/java/org/elasticsearch/index/query/RegexpFlag.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveValue' method is 2 (max allowed is 1). 112
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 117
 Warning extension AvoidHidingCauseException Cause exception 'iae' was lost. 131

elasticsearch/src/main/java/org/elasticsearch/index/query/RegexpQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 45
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 116

elasticsearch/src/main/java/org/elasticsearch/index/query/ScriptFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 51
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 57
 Warning extension MultipleStringLiteralsExtended The String "[script] filter does not support [" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 85

elasticsearch/src/main/java/org/elasticsearch/index/query/SimpleQueryParser.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 67
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 91
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 108
 Warning extension ReturnCountExtended Return count for 'newPrefixQuery' method is 2 (max allowed is 1). 120
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 136
 Warning extension ReturnCountExtended Return count for 'newPossiblyAnalyzedQuery' method is 4 (max allowed is 1). 148
 Warning extension MoveVariableInsideIf Variable 'hasMoreTokens' can be moved inside the block at line '160' to restrict runtime creation. 158
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 217

elasticsearch/src/main/java/org/elasticsearch/index/query/SimpleQueryStringFlag.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'resolveFlags' method is 3 (max allowed is 1). 55
 Warning extension AvoidHidingCauseException Cause exception 'iae' was lost. 75

elasticsearch/src/main/java/org/elasticsearch/index/query/SimpleQueryStringParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 83
 Warning extension MultipleStringLiteralsExtended The String "[" appears 5 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 143
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 166

elasticsearch/src/main/java/org/elasticsearch/index/query/SpanFirstQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 38
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44
 Warning extension MultipleStringLiteralsExtended The String "[span_first] query does not support [" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 70

elasticsearch/src/main/java/org/elasticsearch/index/query/SpanMultiTermQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension LogicConditionNeedOptimization Condition with || at line 53 position 53 need optimization. All method calls are advised to move to end of logic expression. 53
 Warning extension MultipleStringLiteralsExtended The String "spanMultiTerm must have [" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "] multi term query clause" appears 2 times in the file. 54

elasticsearch/src/main/java/org/elasticsearch/index/query/SpanNearQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 41
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 47
 Warning extension MultipleStringLiteralsExtended The String "[span_near] query does not support [" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 77

elasticsearch/src/main/java/org/elasticsearch/index/query/SpanNotQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 38
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44
 Warning extension MultipleStringLiteralsExtended The String "[span_not] query does not support [" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 81

elasticsearch/src/main/java/org/elasticsearch/index/query/SpanOrQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 41
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 47
 Warning extension MultipleStringLiteralsExtended The String "[span_or] query does not support [" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 74

elasticsearch/src/main/java/org/elasticsearch/index/query/SpanTermQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 46

elasticsearch/src/main/java/org/elasticsearch/index/query/TemplateQueryParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 45

elasticsearch/src/main/java/org/elasticsearch/index/query/TermFilterParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "term" appears 2 times in the file. 40
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 42
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48
 Warning extension MultipleStringLiteralsExtended The String "_name" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "_cache" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "_cache_key" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "_cacheKey" appears 2 times in the file. 81
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 114

elasticsearch/src/main/java/org/elasticsearch/index/query/TermQueryParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "term" appears 2 times in the file. 39
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 41
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 47
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 98

elasticsearch/src/main/java/org/elasticsearch/index/query/TermsFilterParser.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 63
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 65
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 71
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 74
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 80
 Warning extension MultipleStringLiteralsExtended The String "[terms] filter does not support [" appears 2 times in the file. 135
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 177

elasticsearch/src/main/java/org/elasticsearch/index/query/TermsQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 52
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 58
 Warning extension MultipleStringLiteralsExtended The String "[terms] query does not support [" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 101
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 118

elasticsearch/src/main/java/org/elasticsearch/index/query/TopChildrenQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 47
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 57
 Warning extension MultipleStringLiteralsExtended The String "[top_children] query does not support [" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 84

elasticsearch/src/main/java/org/elasticsearch/index/query/TypeFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 43
 Warning extension MultipleStringLiteralsExtended The String "[type] filter should have a value field, and the type name" appears 3 times in the file. 52

elasticsearch/src/main/java/org/elasticsearch/index/query/WildcardQueryParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "wildcard" appears 2 times in the file. 40
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 42
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48

elasticsearch/src/main/java/org/elasticsearch/index/query/WrapperFilterParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 36
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 42
 Warning extension MultipleStringLiteralsExtended The String "[wrapper] filter malformed" appears 2 times in the file. 51

elasticsearch/src/main/java/org/elasticsearch/index/query/WrapperQueryParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 36
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 42
 Warning extension MultipleStringLiteralsExtended The String "[wrapper] query malformed" appears 2 times in the file. 51

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/DecayFunctionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Malformed score function score parameters." appears 2 times in the file. 139
 Warning extension ReturnCountExtended Return count for 'parseVariable' method is 3 (max allowed is 1). 151
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "Parameter " appears 3 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String " not supported!" appears 3 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String " and " appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "(=offset), 0)" appears 2 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "0.0" appears 2 times in the file. 335
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 417
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 419

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/FunctionScoreModule.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 42
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 43
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 44
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 45
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 46
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 47
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 48

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/FunctionScoreQueryBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "function_score: function must not be null" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 191

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/FunctionScoreQueryParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "weight" appears 2 times in the file. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 68
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 80
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 105
 Warning extension LogicConditionNeedOptimization Condition with && at line 156 position 38 need optimization. All method calls are advised to move to end of logic expression. 156
 Warning extension MoveVariableInsideIf Variable 'functionWeight' can be moved inside the block at line '203' to restrict runtime creation. 199
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 200
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 252

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/ScoreFunctionBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 34

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/factor/FactorParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 41

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/fieldvaluefactor/FieldValueFactorFunctionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "factor" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 71
 Warning extension LogicConditionNeedOptimization Condition with && at line 73 position 56 need optimization. All method calls are advised to move to end of logic expression. 73
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 74

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/random/RandomScoreFunctionBuilder.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 33
 Warning extension MultipleStringLiteralsExtended The String "seed" appears 2 times in the file. 74

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/random/RandomScoreFunctionParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 42
 Warning extension ReturnCountExtended Return count for 'parse' method is 2 (max allowed is 1). 52
 Warning extension MultipleStringLiteralsExtended The String "'" appears 2 times in the file. 69

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/script/ScriptScoreFunctionBuilder.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 42

elasticsearch/src/main/java/org/elasticsearch/index/query/functionscore/script/ScriptScoreFunctionParser.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 46
 Warning extension MultipleStringLiteralsExtended The String " query does not support [" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 70
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 92

elasticsearch/src/main/java/org/elasticsearch/index/query/support/InnerHitsQueryParserHelper.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 75
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String " for nested query: [" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "]." appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 106

elasticsearch/src/main/java/org/elasticsearch/index/query/support/NestedInnerQueryParseSupport.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 62
 Warning extension MultipleStringLiteralsExtended The String "[nested] requires 'path' field" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "[nested] requires either 'query' or 'filter' field" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "[nested] failed to find nested object under path [" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 163

elasticsearch/src/main/java/org/elasticsearch/index/query/support/QueryParsers.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'parseRewriteMethod' method is 7 (max allowed is 1). 61
 Warning extension MultipleStringLiteralsExtended The String "constant_score_auto" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "top_terms_boost_" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "topTermsBoost" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "top_terms_" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "topTerms" appears 2 times in the file. 89

elasticsearch/src/main/java/org/elasticsearch/index/query/support/XContentStructure.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "innerBytes must be set with .bytes(bytes) or .freeze() before parsing" appears 2 times in the file. 87

elasticsearch/src/main/java/org/elasticsearch/index/recovery/RecoveryStats.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 43

elasticsearch/src/main/java/org/elasticsearch/index/search/FieldDataTermsFilter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ":" appears 3 times in the file. 136
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 2 (max allowed is 1). 202
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 2 (max allowed is 1). 269

elasticsearch/src/main/java/org/elasticsearch/index/search/MatchQuery.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 161
 Warning extension ReturnCountExtended Return count for 'parse' method is 4 (max allowed is 1). 167
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 180
 Warning extension ReturnCountExtended Return count for 'createPhrasePrefixQuery' method is 4 (max allowed is 1). 253

elasticsearch/src/main/java/org/elasticsearch/index/search/MultiMatchQuery.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 48
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 92
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 205
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 257

elasticsearch/src/main/java/org/elasticsearch/index/search/NumericRangeFieldDataFilter.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 66
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 78
 Warning extension LogicConditionNeedOptimization Condition with || at line 92 position 16 need optimization. All method calls are advised to move to end of logic expression. 92
 Warning extension LogicConditionNeedOptimization Condition with || at line 93 position 16 need optimization. All method calls are advised to move to end of logic expression. 93
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 105
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 107
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 108
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 108
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 108
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 108
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 3 (max allowed is 1). 115
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 116
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 3 (max allowed is 1). 147
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 148
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 3 (max allowed is 1). 178
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 179
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 3 (max allowed is 1). 209
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 210
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 4 (max allowed is 1). 241
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 244
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 4 (max allowed is 1). 276
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 279

elasticsearch/src/main/java/org/elasticsearch/index/search/child/ChildrenConstantScoreQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createWeight' method is 4 (max allowed is 1). 94
 Warning extension MoveVariableInsideIf Variable 'sc' can be moved inside the block at line '126' to restrict runtime creation. 95
 Warning extension ReturnCountExtended Return count for 'scorer' method is 4 (max allowed is 1). 215
 Warning extension MoveVariableInsideIf Variable 'parentOrds' can be moved inside the block at line '240' to restrict runtime creation. 238

elasticsearch/src/main/java/org/elasticsearch/index/search/child/ChildrenQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createWeight' method is 3 (max allowed is 1). 158
 Warning extension ReturnCountExtended Return count for 'scorer' method is 7 (max allowed is 1). 282
 Warning extension LogicConditionNeedOptimization Condition with || at line 284 position 46 need optimization. All method calls are advised to move to end of logic expression. 284
 Warning extension ReturnCountExtended Return count for 'nextDoc' method is 2 (max allowed is 1). 581
 Warning extension ReturnCountExtended Return count for 'advance' method is 4 (max allowed is 1). 608
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 697
 Warning extension ReturnCountExtended Return count for 'match' method is 3 (max allowed is 1). 714

elasticsearch/src/main/java/org/elasticsearch/index/search/child/ConstantScorer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 38
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 40

elasticsearch/src/main/java/org/elasticsearch/index/search/child/CustomQueryWrappingFilter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 2 (max allowed is 1). 63
 Warning extension MoveVariableInsideIf Variable 'searchContext' can be moved inside the block at line '65' to restrict runtime creation. 64
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 122

elasticsearch/src/main/java/org/elasticsearch/index/search/child/ParentConstantScoreQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createWeight' method is 4 (max allowed is 1). 86

elasticsearch/src/main/java/org/elasticsearch/index/search/child/ParentIdsFilter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createShortCircuitFilter' method is 3 (max allowed is 1). 47
 Warning extension ReturnCountExtended Return count for 'createShortCircuitFilter' method is 3 (max allowed is 1). 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 113
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 115
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 117
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 146
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 154

elasticsearch/src/main/java/org/elasticsearch/index/search/child/ParentQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createWeight' method is 3 (max allowed is 1). 126
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 339

elasticsearch/src/main/java/org/elasticsearch/index/search/child/TopChildrenQuery.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 131
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 147
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 152
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 192
 Warning extension ReturnCountExtended Return count for 'scorer' method is 2 (max allowed is 1). 333
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 384
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 385
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 410

elasticsearch/src/main/java/org/elasticsearch/index/search/geo/GeoDistanceFilter.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 119
 Warning extension MultipleStringLiteralsExtended The String ", " appears 4 times in the file. 142

elasticsearch/src/main/java/org/elasticsearch/index/search/geo/GeoDistanceRangeFilter.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 129
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 153

elasticsearch/src/main/java/org/elasticsearch/index/search/geo/InMemoryGeoBoundingBoxFilter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 76

elasticsearch/src/main/java/org/elasticsearch/index/search/morelikethis/MoreLikeThisFetchService.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 53

elasticsearch/src/main/java/org/elasticsearch/index/search/nested/IncludeNestedDocsQuery.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'scorer' method is 3 (max allowed is 1). 107
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 177
 Warning extension ReturnCountExtended Return count for 'advance' method is 3 (max allowed is 1). 202
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 204
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 214
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 260

elasticsearch/src/main/java/org/elasticsearch/index/search/slowlog/ShardSlowLogSearchService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 66
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 69
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 122
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 149
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 8 times in the file. 151
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 161
 Warning extension MultipleStringLiteralsExtended The String "], " appears 6 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 192

elasticsearch/src/main/java/org/elasticsearch/index/search/stats/SearchStats.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 193

elasticsearch/src/main/java/org/elasticsearch/index/settings/IndexDynamicSettingsModule.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*" appears 3 times in the file. 58

elasticsearch/src/main/java/org/elasticsearch/index/settings/IndexSettingsService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 56

elasticsearch/src/main/java/org/elasticsearch/index/shard/IllegalIndexShardStateException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "CurrentState[" appears 2 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "] " appears 2 times in the file. 32

elasticsearch/src/main/java/org/elasticsearch/index/shard/IndexShard.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 162
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 164
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 165
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 166
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 186
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 191
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 277
 Warning extension ReturnCountExtended Return count for 'routingEntry' method is 2 (max allowed is 1). 333
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 336
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 355
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 455
 Warning extension MultipleStringLiteralsExtended The String "index [{}][{}]{}" appears 2 times in the file. 468
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 482
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 870
 Warning extension MultipleStringLiteralsExtended The String "operations only allowed when started/relocated" appears 2 times in the file. 910
 Warning extension MultipleStringLiteralsExtended The String "operation only allowed when started/recovering, origin [" appears 2 times in the file. 926
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 991
 Warning extension MultipleStringLiteralsExtended The String "updating {} from [{}] to [{}]" appears 6 times in the file. 1019
 Warning extension MultipleStringLiteralsExtended The String "Failed to perform scheduled engine refresh" appears 2 times in the file. 1108
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1111
 Warning extension MultipleStringLiteralsExtended The String "Failed to perform scheduled engine optimize/merge" appears 2 times in the file. 1162
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1165
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1180
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1218
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1223
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1231
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1244
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1251
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1261
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 1268

elasticsearch/src/main/java/org/elasticsearch/index/shard/IndexShardClosedException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Closed" appears 2 times in the file. 27

elasticsearch/src/main/java/org/elasticsearch/index/shard/ShardId.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 33

elasticsearch/src/main/java/org/elasticsearch/index/similarity/DFRSimilarityProvider.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'parseBasicModel' is called in constructor body. 69
 Warning extension OverridableMethodInConstructor Overridable method 'parseAfterEffect' is called in constructor body. 70
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 85

elasticsearch/src/main/java/org/elasticsearch/index/similarity/IBSimilarityProvider.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'parseDistribution' is called in constructor body. 63
 Warning extension OverridableMethodInConstructor Overridable method 'parseLambda' is called in constructor body. 64
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 79

elasticsearch/src/main/java/org/elasticsearch/index/similarity/PreBuiltSimilarityProvider.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 47

elasticsearch/src/main/java/org/elasticsearch/index/similarity/Similarities.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "BM25" appears 2 times in the file. 39

elasticsearch/src/main/java/org/elasticsearch/index/similarity/SimilarityService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "base" appears 2 times in the file. 60

elasticsearch/src/main/java/org/elasticsearch/index/snapshots/IndexShardSnapshotAndRestoreService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 2 times in the file. 88
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 99
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 131

elasticsearch/src/main/java/org/elasticsearch/index/snapshots/blobstore/BlobStoreIndexShardRepository.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 143
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 163
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "store location [" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "__" appears 3 times in the file. 333
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 370
 Warning extension MultipleStringLiteralsExtended The String "[{}] [{}] Aborted on the file [{}], exiting" appears 2 times in the file. 461
 Warning extension MultipleStringLiteralsExtended The String "Aborted" appears 2 times in the file. 462
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 474
 Warning extension MultipleStringLiteralsExtended The String "store cannot be marked as corrupted" appears 2 times in the file. 575
 Warning extension EitherLogOrThrow Either log or throw exception. 715
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 729
 Warning extension MoveVariableInsideIf Variable 'index' can be moved inside the block at line '763' to restrict runtime creation. 758

elasticsearch/src/main/java/org/elasticsearch/index/snapshots/blobstore/BlobStoreIndexShardSnapshot.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ".part" appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "physical_name" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "length" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "checksum" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "part_size" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "written_by" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "meta_hash" appears 2 times in the file. 201
 Warning extension MoveVariableInsideIf Variable 'currentFieldName' can be moved inside the block at line '255' to restrict runtime creation. 253
 Warning extension MultipleStringLiteralsExtended The String "unknown parameter [" appears 3 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "]" appears 7 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "unexpected token [" appears 4 times in the file. 276
 Warning extension MultipleStringLiteralsExtended The String "index_version" appears 2 times in the file. 384
 Warning extension MultipleStringLiteralsExtended The String "start_time" appears 2 times in the file. 385
 Warning extension MultipleStringLiteralsExtended The String "time" appears 2 times in the file. 386
 Warning extension MultipleStringLiteralsExtended The String "number_of_files" appears 2 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "total_size" appears 2 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "files" appears 2 times in the file. 389

elasticsearch/src/main/java/org/elasticsearch/index/store/DirectoryUtils.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 58
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 59

elasticsearch/src/main/java/org/elasticsearch/index/store/DistributorDirectory.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "File " appears 2 times in the file. 216
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 297

elasticsearch/src/main/java/org/elasticsearch/index/store/IndexStoreModule.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index.store.type" appears 2 times in the file. 106

elasticsearch/src/main/java/org/elasticsearch/index/store/LegacyVerification.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "expected length=" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String " != actual length: " appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String " : file truncated? " appears 2 times in the file. 68

elasticsearch/src/main/java/org/elasticsearch/index/store/Store.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "store" appears 2 times in the file. 90
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 95
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 164
 Warning extension MultipleStringLiteralsExtended The String "Failed to open / find files while reading metadata snapshot" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "Index locked for write: " appears 2 times in the file. 260
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 269
 Warning extension ReturnCountExtended Return count for 'checkIntegrity' method is 4 (max allowed is 1). 484
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 514
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 637
 Warning extension MultipleStringLiteralsExtended The String ", missing=" appears 2 times in the file. 651
 Warning extension MultipleStringLiteralsExtended The String ")" appears 4 times in the file. 719
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 757
 Warning extension MultipleStringLiteralsExtended The String "numSegmentFiles: " appears 2 times in the file. 769
 Warning extension LogicConditionNeedOptimization Condition with && at line 773 position 69 need optimization. All method calls are advised to move to end of logic expression. 773
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 824
 Warning extension EitherLogOrThrow Either log or throw exception. 909
 Warning extension MultipleStringLiteralsExtended The String " != " appears 2 times in the file. 936
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 953
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 954
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 1194
 Warning extension MultipleStringLiteralsExtended The String " actual=" appears 2 times in the file. 1228
 Warning extension MultipleStringLiteralsExtended The String " (resource=" appears 2 times in the file. 1229
 Warning extension MoveVariableInsideIf Variable 'alreadyVerified' can be moved inside the block at line '1,315' to restrict runtime creation. 1314
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1402
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 1458

elasticsearch/src/main/java/org/elasticsearch/index/store/StoreModule.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "least_used" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "random" appears 2 times in the file. 38

elasticsearch/src/main/java/org/elasticsearch/index/store/fs/FsDirectoryService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "native" appears 2 times in the file. 63
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 101

elasticsearch/src/main/java/org/elasticsearch/index/store/ram/RamDirectoryService.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51

elasticsearch/src/main/java/org/elasticsearch/index/store/support/AbstractIndexStore.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node" appears 3 times in the file. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'InnerClass()'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'InnerClass()'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 85
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 86
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 87
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 91
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 93
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 119
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 124
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 129
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 139
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 154

elasticsearch/src/main/java/org/elasticsearch/index/suggest/stats/SuggestStats.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 53
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 60

elasticsearch/src/main/java/org/elasticsearch/index/termvectors/ShardTermVectorService.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 82
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 88
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 96
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 107
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 126
 Warning extension ReturnCountExtended Return count for 'addGeneratedTermVectors' method is 3 (max allowed is 1). 155
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 156
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 158
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 175
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 180
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 214
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 223
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 235
 Warning extension LogicConditionNeedOptimization Condition with && at line 246 position 49 need optimization. All method calls are advised to move to end of logic expression. 246
 Warning extension MoveVariableInsideIf Variable 'indexService' can be moved inside the block at line '265' to restrict runtime creation. 260

elasticsearch/src/main/java/org/elasticsearch/index/translog/Translog.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 160
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 521

elasticsearch/src/main/java/org/elasticsearch/index/translog/TranslogService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension MultipleStringLiteralsExtended The String "index.translog." appears 5 times in the file. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 60
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 135
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 208

elasticsearch/src/main/java/org/elasticsearch/index/translog/TranslogStats.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 43

elasticsearch/src/main/java/org/elasticsearch/index/translog/TranslogStreams.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'translogStreamFor' method is 3 (max allowed is 1). 94

elasticsearch/src/main/java/org/elasticsearch/index/translog/fs/BufferingFsTranslogFile.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'add' method is 2 (max allowed is 1). 86
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 112
 Warning extension ReturnCountExtended Return count for 'snapshot' method is 2 (max allowed is 1). 141
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 152
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 200
 Warning extension MultipleStringLiteralsExtended The String "failed to flush" appears 2 times in the file. 219
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 261

elasticsearch/src/main/java/org/elasticsearch/index/translog/fs/FsChannelSnapshot.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "] length [" appears 2 times in the file. 118

elasticsearch/src/main/java/org/elasticsearch/index/translog/fs/FsTranslog.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 86
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 88
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "buffer_size" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "64k" appears 2 times in the file. 102
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 108
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 111
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 119
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 124
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 129
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 147
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 166
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 170
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 179
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 188
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 193
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 202
 Warning extension ReturnCountExtended Return count for 'clearUnreferenced' method is 2 (max allowed is 1). 203
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 214
 Warning extension MultipleStringLiteralsExtended The String "translog-" appears 4 times in the file. 215
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 225
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 237
 Warning extension MultipleStringLiteralsExtended The String "failed to create new translog file" appears 2 times in the file. 256
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 274
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 300
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 317
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 340
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 354
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 375
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 402
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 412
 Warning extension LogicConditionNeedOptimization Condition with && at line 420 position 33 need optimization. All method calls are advised to move to end of logic expression. 420
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 428
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 437
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 456
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 462
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 472

elasticsearch/src/main/java/org/elasticsearch/index/translog/fs/SimpleFsTranslogFile.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 108
 Warning extension ReturnCountExtended Return count for 'snapshot' method is 2 (max allowed is 1). 120

elasticsearch/src/main/java/org/elasticsearch/indices/AliasFilterParsingException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "], " appears 2 times in the file. 31

elasticsearch/src/main/java/org/elasticsearch/indices/IndicesService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 149
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 150
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 228
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 331
 Warning extension MultipleStringLiteralsExtended The String "[{}] closing index service (reason [{}])" appears 2 times in the file. 382
 Warning extension MultipleStringLiteralsExtended The String "Can't delete closed index store for [" appears 2 times in the file. 461
 Warning extension MultipleStringLiteralsExtended The String "] - it's still part of the cluster state [" appears 2 times in the file. 461
 Warning extension MultipleStringLiteralsExtended The String "] [" appears 3 times in the file. 461
 Warning extension MultipleStringLiteralsExtended The String "{} deleting index store reason [{}]" appears 2 times in the file. 501
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 508
 Warning extension MultipleStringLiteralsExtended The String "{} deleting shard reason [{}]" appears 2 times in the file. 529
 Warning extension MoveVariableInsideIf Variable 'indexServiceInjectorTuple' can be moved inside the block at line '561' to restrict runtime creation. 560
 Warning extension MoveVariableInsideIf Variable 'indexServiceInjectorTuple' can be moved inside the block at line '594' to restrict runtime creation. 593
 Warning extension MultipleStringLiteralsExtended The String "pending delete" appears 2 times in the file. 711
 Warning extension MultipleStringLiteralsExtended The String "{} retry pending delete" appears 2 times in the file. 716
 Warning extension RedundantReturn Redundant return. 741

elasticsearch/src/main/java/org/elasticsearch/indices/InternalIndicesLifecycle.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 62

elasticsearch/src/main/java/org/elasticsearch/indices/NodeIndicesStats.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 61
 Warning extension MultipleStringLiteralsExtended The String "node" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 3 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "shards" appears 3 times in the file. 212

elasticsearch/src/main/java/org/elasticsearch/indices/TypeMissingException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type[" appears 2 times in the file. 34

elasticsearch/src/main/java/org/elasticsearch/indices/analysis/HunspellService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 72
 Warning extension MultipleStringLiteralsExtended The String "Could not load hunspell dictionary settings from [%s]" appears 2 times in the file. 224

elasticsearch/src/main/java/org/elasticsearch/indices/analysis/IndicesAnalysisService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "nGram" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "edgeNGram" appears 2 times in the file. 68
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 150

elasticsearch/src/main/java/org/elasticsearch/indices/analysis/PreBuiltAnalyzers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\\W+" appears 2 times in the file. 141
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 141
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 143

elasticsearch/src/main/java/org/elasticsearch/indices/breaker/BreakerSettings.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 50

elasticsearch/src/main/java/org/elasticsearch/indices/breaker/CircuitBreakerStats.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 130

elasticsearch/src/main/java/org/elasticsearch/indices/breaker/HierarchyCircuitBreakerService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 66
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 184
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 268

elasticsearch/src/main/java/org/elasticsearch/indices/cache/filter/IndicesFilterCache.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 66
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 68
 Warning extension MultipleStringLiteralsExtended The String "updating [{}] from [{}] to [{}]" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "concurrency_level must be > 0 but was: " appears 2 times in the file. 90
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 107
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 132
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 146
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 150
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 154
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 159
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 163

elasticsearch/src/main/java/org/elasticsearch/indices/cache/filter/terms/IndicesTermsFilterCache.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 104
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 106

elasticsearch/src/main/java/org/elasticsearch/indices/cache/filter/terms/TermsLookup.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 73

elasticsearch/src/main/java/org/elasticsearch/indices/cache/query/IndicesQueryCache.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'canCache' method is 7 (max allowed is 1). 172
 Warning extension MoveVariableInsideIf Variable 'value' can be moved inside the block at line '226' to restrict runtime creation. 215
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 256

elasticsearch/src/main/java/org/elasticsearch/indices/cluster/IndicesClusterStateService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 168
 Warning extension MultipleStringLiteralsExtended The String "[{}][{}] removing shard (index is closed)" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "removing shard (index is closed)" appears 2 times in the file. 200
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 201
 Warning extension MoveVariableInsideIf Variable 'index' can be moved inside the block at line '209' to restrict runtime creation. 208
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 251
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 312
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 323
 Warning extension LogicConditionNeedOptimization Condition with && at line 381 position 46 need optimization. All method calls are advised to move to end of logic expression. 381
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 395
 Warning extension MultipleStringLiteralsExtended The String "[{}] adding mapping [{}], source [{}]" appears 2 times in the file. 423
 Warning extension MultipleStringLiteralsExtended The String "[{}] parsed mapping [{}], and got different sources\noriginal:\n{}\nparsed:\n{}" appears 2 times in the file. 432
 Warning extension MultipleStringLiteralsExtended The String "[{}] updating mapping [{}], source [{}]" appears 2 times in the file. 440
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 511
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 532
 Warning extension MultipleStringLiteralsExtended The String "master " appears 3 times in the file. 550
 Warning extension MoveVariableInsideIf Variable 'failedShard' can be moved inside the block at line '621' to restrict runtime creation. 619
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 624
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 704
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 729
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 809
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 827
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 846
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 860
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 874

elasticsearch/src/main/java/org/elasticsearch/indices/fielddata/cache/IndicesFieldDataCache.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "size" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "-1" appears 2 times in the file. 71
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 124
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 184
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 215
 Warning extension MoveVariableInsideIf Variable 'startTime' can be moved inside the block at line '330' to restrict runtime creation. 321
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 327

elasticsearch/src/main/java/org/elasticsearch/indices/memory/IndexingMemoryController.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "%" appears 2 times in the file. 78
 Warning extension MoveVariableInsideIf Variable 'activeShards' can be moved inside the block at line '174' to restrict runtime creation. 163
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 247
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 295
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 311

elasticsearch/src/main/java/org/elasticsearch/indices/recovery/RecoverySource.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 161
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 186

elasticsearch/src/main/java/org/elasticsearch/indices/recovery/RecoverySourceHandler.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 100
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 312
 Warning extension MultipleStringLiteralsExtended The String "{} Corrupted file detected {} checksum mismatch" appears 2 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "File corruption occurred on recovery but checksums are ok" appears 2 times in the file. 322
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 396
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 412

elasticsearch/src/main/java/org/elasticsearch/indices/recovery/RecoveryState.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No mapping for id [" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "])" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "details" appears 2 times in the file. 385
 Warning extension MultipleStringLiteralsExtended The String "total, if known, should be > recovered. total [" appears 2 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "], recovered [" appears 3 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "%1.1f%%" appears 3 times in the file. 598
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 718

elasticsearch/src/main/java/org/elasticsearch/indices/recovery/RecoveryStatus.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 91
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 178
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 255

elasticsearch/src/main/java/org/elasticsearch/indices/recovery/RecoveryTarget.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 124
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 173
 Warning extension RedundantReturn Redundant return. 177
 Warning extension MoveVariableInsideIf Variable 'recoveryResponse' can be moved inside the block at line '208' to restrict runtime creation. 203
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 3 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String ", took [" appears 3 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String " transaction log operations" appears 2 times in the file. 217
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 228
 Warning extension MultipleStringLiteralsExtended The String "source shard is closed" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "recovery CleanFilesRequestHandler" appears 2 times in the file. 422
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 423
 Warning extension MultipleStringLiteralsExtended The String "failed to clean after recovery" appears 3 times in the file. 424
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 437
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 442

elasticsearch/src/main/java/org/elasticsearch/indices/store/IndicesStore.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 89
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 91
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 93
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 95
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'InnerClass()'. 102
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 104
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'InnerClass()'. 127
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 136
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 140
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 146
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 169
 Warning extension ReturnCountExtended Return count for 'shardCanBeDeleted' method is 5 (max allowed is 1). 169
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 208
 Warning extension MultipleStringLiteralsExtended The String "no longer used" appears 2 times in the file. 299
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 300
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 308

elasticsearch/src/main/java/org/elasticsearch/indices/store/TransportNodesListShardStoreMetaData.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'listStoreMetaData' method is 4 (max allowed is 1). 147
 Warning extension MultipleStringLiteralsExtended The String "fs" appears 2 times in the file. 171

elasticsearch/src/main/java/org/elasticsearch/indices/ttl/IndicesTTLService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 141
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 161
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 218
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 244
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 261
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 266
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 289

elasticsearch/src/main/java/org/elasticsearch/monitor/MonitorModule.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 79

elasticsearch/src/main/java/org/elasticsearch/monitor/fs/FsStats.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 148
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 156
 Warning extension MultipleStringLiteralsExtended The String "total" appears 2 times in the file. 208
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 257
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 276

elasticsearch/src/main/java/org/elasticsearch/monitor/jvm/DeadlockAnalyzer.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 44

elasticsearch/src/main/java/org/elasticsearch/monitor/jvm/HotThreads.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cpu" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "wait" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "block" appears 3 times in the file. 75
 Warning extension ReturnCountExtended Return count for 'isIdleThread' method is 7 (max allowed is 1). 89
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 152
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 168
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 230
 Warning extension MultipleStringLiteralsExtended The String " %s%n" appears 2 times in the file. 274
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 293

elasticsearch/src/main/java/org/elasticsearch/monitor/jvm/JvmInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 55
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 73
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 124
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 165
 Warning extension ReturnCountExtended Return count for 'versionUpdatePack' method is 5 (max allowed is 1). 170
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 206

elasticsearch/src/main/java/org/elasticsearch/monitor/jvm/JvmMonitorService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 4 times in the file. 104
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 141
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 149
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 158
 Warning extension MultipleStringLiteralsExtended The String "[last_gc][{}][{}][{}] duration [{}], collections [{}], total [{}]/[{}], reclaimed [{}], leaving [{}]/[{}]" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "[gc][{}][{}][{}] duration [{}], collections [{}]/[{}], total [{}]/[{}], memory [{}]->[{}]/[{}], all_pools {}" appears 3 times in the file. 202

elasticsearch/src/main/java/org/elasticsearch/monitor/jvm/JvmStats.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 68
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 72
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 81
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 93
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 127
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 165
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 166
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 210
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 228
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 248
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 251

elasticsearch/src/main/java/org/elasticsearch/monitor/network/NetworkInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

elasticsearch/src/main/java/org/elasticsearch/monitor/network/NetworkService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "display_name [" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "] " appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "] multicast [" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "] ptp [" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "] loopback [" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "] up [" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "] virtual [" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 72
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 96

elasticsearch/src/main/java/org/elasticsearch/monitor/network/NetworkStats.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35

elasticsearch/src/main/java/org/elasticsearch/monitor/network/SigarNetworkProbe.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'ifconfig' method is 2 (max allowed is 1). 85
 Warning extension MultipleStringLiteralsExtended The String "\t" appears 8 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String " errors:" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String " dropped:" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String " overruns:" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String " (" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 154

elasticsearch/src/main/java/org/elasticsearch/monitor/os/OsInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

elasticsearch/src/main/java/org/elasticsearch/monitor/os/OsStats.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 38

elasticsearch/src/main/java/org/elasticsearch/monitor/process/JmxProcessProbe.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 47
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 56
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 68
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 79
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 84

elasticsearch/src/main/java/org/elasticsearch/monitor/process/ProcessInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 36

elasticsearch/src/main/java/org/elasticsearch/monitor/process/ProcessStats.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 37

elasticsearch/src/main/java/org/elasticsearch/monitor/sigar/SigarService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 44
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 49

elasticsearch/src/main/java/org/elasticsearch/node/internal/InternalNode.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 117
 Warning extension MultipleStringLiteralsExtended The String "http.enabled" appears 4 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 140
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 398

elasticsearch/src/main/java/org/elasticsearch/node/internal/InternalSettingsPreparer.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 43
 Warning extension MultipleStringLiteralsExtended The String "es.default." appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "elasticsearch.default." appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "elasticsearch." appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "es." appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "es.default.config" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "es.config" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "elasticsearch.config" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 114

elasticsearch/src/main/java/org/elasticsearch/node/service/NodeService.java

Severity Category Rule Message Line
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 130

elasticsearch/src/main/java/org/elasticsearch/node/settings/NodeSettingsService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 54
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 85
 Warning extension MultipleStringLiteralsExtended The String "failed to refresh settings for [{}]" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "logger." appears 2 times in the file. 92
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 101

elasticsearch/src/main/java/org/elasticsearch/percolator/PercolateContext.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 85
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 125

elasticsearch/src/main/java/org/elasticsearch/percolator/PercolatorService.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'percolate' method is 2 (max allowed is 1). 170
 Warning extension LogicConditionNeedOptimization Condition with || at line 201 position 75 need optimization. All method calls are advised to move to end of logic expression. 201
 Warning extension LogicConditionNeedOptimization Condition with && at line 209 position 44 need optimization. All method calls are advised to move to end of logic expression. 209
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 267
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "Either specify query or filter, not both" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "sort" appears 3 times in the file. 312
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 345
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 365
 Warning extension MultipleStringLiteralsExtended The String "failed to parse request" appears 2 times in the file. 366
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 400
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 430
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 461
 Warning extension EitherLogOrThrow Either log or throw exception. 462
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "] failed to execute query" appears 2 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "failed to execute" appears 9 times in the file. 463
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 475
 Warning extension MultipleStringLiteralsExtended The String "percolate" appears 4 times in the file. 490
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 495
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 505
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 562
 Warning extension EitherLogOrThrow Either log or throw exception. 563
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 584
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 608
 Warning extension EitherLogOrThrow Either log or throw exception. 609
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 617
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 642
 Warning extension EitherLogOrThrow Either log or throw exception. 643
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 651
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 684
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 693
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 725
 Warning extension ReturnCountExtended Return count for 'doPercolate' method is 2 (max allowed is 1). 744
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 785
 Warning extension EitherLogOrThrow Either log or throw exception. 786
 Warning extension ReturnCountExtended Return count for 'reduceFacets' method is 2 (max allowed is 1). 862

elasticsearch/src/main/java/org/elasticsearch/percolator/QueryCollector.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[" appears 4 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "] failed to execute query" appears 4 times in the file. 224

elasticsearch/src/main/java/org/elasticsearch/plugins/PluginManager.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_site" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "bin" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "config" appears 2 times in the file. 89
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 104
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 107
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 125
 Warning extension MultipleStringLiteralsExtended The String "plugin directory " appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Trying " appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "..." appears 4 times in the file. 161
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 167
 Warning extension MultipleStringLiteralsExtended The String "Failed: " appears 2 times in the file. 169
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 183
 Warning extension MultipleStringLiteralsExtended The String "Installed " appears 4 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String " into " appears 4 times in the file. 213
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 214
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "failed to rename in order to copy to _site (rename to " appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "Removing: " appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "Unable to remove " appears 3 times in the file. 306
 Warning extension MultipleStringLiteralsExtended The String ". Check file permissions on " appears 3 times in the file. 306
 Warning extension ReturnCountExtended Return count for 'topLevelDirInExcess' method is 4 (max allowed is 1). 360
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 389
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 390
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 391
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 392
 Warning extension MultipleStringLiteralsExtended The String "--url" appears 2 times in the file. 416
 Warning extension MultipleStringLiteralsExtended The String "--install" appears 2 times in the file. 441
 Warning extension MultipleStringLiteralsExtended The String "--remove" appears 2 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "--timeout" appears 2 times in the file. 457
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 478
 Warning extension MultipleStringLiteralsExtended The String ": " appears 4 times in the file. 480
 Warning extension MultipleStringLiteralsExtended The String ", reason: " appears 3 times in the file. 495
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 496
 Warning extension MultipleStringLiteralsExtended The String "Failed to remove " appears 2 times in the file. 509
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 513
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 523
 Warning extension MultipleStringLiteralsExtended The String " [value]" appears 2 times in the file. 553
 Warning extension MultipleStringLiteralsExtended The String "/" appears 11 times in the file. 621
 Warning extension MultipleStringLiteralsExtended The String "-" appears 3 times in the file. 621
 Warning extension MultipleStringLiteralsExtended The String ".zip" appears 5 times in the file. 621
 Warning extension MultipleStringLiteralsExtended The String "https://github.com/" appears 2 times in the file. 627
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 658
 Warning extension MultipleStringLiteralsExtended The String "elasticsearch-" appears 2 times in the file. 676
 Warning extension MultipleStringLiteralsExtended The String "es-" appears 2 times in the file. 682

elasticsearch/src/main/java/org/elasticsearch/plugins/PluginsService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 147
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 156
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 201
 Warning extension ReturnCountExtended Return count for 'info' method is 2 (max allowed is 1). 298
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 387
 Warning extension MultipleStringLiteralsExtended The String "plugin" appears 2 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "_site" appears 2 times in the file. 411
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 421
 Warning extension ReturnCountExtended Return count for 'loadSitePlugins' method is 2 (max allowed is 1). 434
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 472
 Warning extension AvoidHidingCauseException Cause exception 'e1' was lost. 520
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 532
 Warning extension ReturnCountExtended Return count for 'checkLuceneCompatibility' method is 3 (max allowed is 1). 549
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 583

elasticsearch/src/main/java/org/elasticsearch/repositories/RepositoriesModule.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'registerRepository' is called in constructor body. 47
 Warning extension OverridableMethodInConstructor Overridable method 'registerRepository' is called in constructor body. 48

elasticsearch/src/main/java/org/elasticsearch/repositories/RepositoriesService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "put repository [{}]" appears 2 times in the file. 120
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 134
 Warning extension MultipleStringLiteralsExtended The String "failed to create repository [{}]" appears 2 times in the file. 148
 Warning extension MoveVariableInsideIf Variable 'mdBuilder' can be moved inside the block at line '179' to restrict runtime creation. 177
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 218
 Warning extension MultipleStringLiteralsExtended The String "[{}] failed to finish repository verification" appears 2 times in the file. 219
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 231
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 234
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 242
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 310
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 408
 Warning extension EitherLogOrThrow Either log or throw exception. 409

elasticsearch/src/main/java/org/elasticsearch/repositories/VerifyNodeRepositoryAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 88

elasticsearch/src/main/java/org/elasticsearch/repositories/blobstore/BlobStoreRepository.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 116
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 180
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 3 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "failed to update snapshot in repository" appears 2 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "failed to get snapshots" appears 2 times in the file. 435
 Warning extension MoveVariableInsideIf Variable 'indexMetaData' can be moved inside the block at line '459' to restrict runtime creation. 458
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 464
 Warning extension MultipleStringLiteralsExtended The String "unexpected token [" appears 3 times in the file. 465
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 465
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 471
 Warning extension MoveVariableInsideIf Variable 'snapshot' can be moved inside the block at line '513' to restrict runtime creation. 512
 Warning extension MoveVariableInsideIf Variable 'metaData' can be moved inside the block at line '538' to restrict runtime creation. 537
 Warning extension MultipleStringLiteralsExtended The String "snapshots" appears 2 times in the file. 621

elasticsearch/src/main/java/org/elasticsearch/repositories/blobstore/BlobStoreSnapshot.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "snapshot" appears 2 times in the file. 404
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 405
 Warning extension MultipleStringLiteralsExtended The String "version_id" appears 2 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 2 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "state" appears 2 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "reason" appears 2 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "start_time" appears 2 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "end_time" appears 2 times in the file. 411
 Warning extension MultipleStringLiteralsExtended The String "total_shards" appears 2 times in the file. 412
 Warning extension MultipleStringLiteralsExtended The String "successful_shards" appears 2 times in the file. 413
 Warning extension MultipleStringLiteralsExtended The String "failures" appears 2 times in the file. 414

elasticsearch/src/main/java/org/elasticsearch/repositories/fs/FsRepository.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "location" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "chunk_size" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "compress" appears 2 times in the file. 81

elasticsearch/src/main/java/org/elasticsearch/repositories/fs/FsRepositoryModule.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'FsRepositoryModule' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 33

elasticsearch/src/main/java/org/elasticsearch/repositories/uri/URLRepository.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "url" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "list_directories" appears 2 times in the file. 75

elasticsearch/src/main/java/org/elasticsearch/repositories/uri/URLRepositoryModule.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'URLRepositoryModule' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 33

elasticsearch/src/main/java/org/elasticsearch/rest/BytesRestResponse.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 83
 Warning extension MultipleStringLiteralsExtended The String "error" appears 3 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "error_trace" appears 2 times in the file. 128

elasticsearch/src/main/java/org/elasticsearch/rest/RestController.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 140
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 171
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 174
 Warning extension ReturnCountExtended Return count for 'checkRequestParameters' method is 3 (max allowed is 1). 190
 Warning extension MultipleStringLiteralsExtended The String "error" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "Content-Type" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "Failed to send response" appears 2 times in the file. 200
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 285

elasticsearch/src/main/java/org/elasticsearch/rest/RestModule.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 41

elasticsearch/src/main/java/org/elasticsearch/rest/RestRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] with value [" appears 3 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "Failed to parse int parameter [" appears 2 times in the file. 117

elasticsearch/src/main/java/org/elasticsearch/rest/RestResponse.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 93

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/cluster/node/info/RestNodesInfoAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "jvm" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "network" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "os" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "plugins" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "process" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "settings" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "thread_pool" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "transport" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "nodeId" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "metrics" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 6 times in the file. 69
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 72
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 75

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/cluster/node/stats/RestNodesStatsAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "indices" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "fielddata_fields" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "completion_fields" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "groups" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "types" appears 2 times in the file. 105

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/cluster/repositories/delete/RestDeleteRepositoryAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "master_timeout" appears 2 times in the file. 47

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/cluster/repositories/put/RestPutRepositoryAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_snapshot/{repository}" appears 2 times in the file. 42

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/cluster/reroute/RestClusterRerouteAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "metric" appears 2 times in the file. 71

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/cluster/settings/RestClusterUpdateSettingsAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "transient" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "persistent" appears 3 times in the file. 56

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/cluster/shards/RestClusterSearchShardsAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_search_shards" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_search_shards" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_search_shards" appears 2 times in the file. 47

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/cluster/snapshots/status/RestSnapshotsStatusAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 49

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/cluster/state/RestClusterStateAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "metric" appears 2 times in the file. 71

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/alias/get/RestGetAliasesAction.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildResponse' method is 2 (max allowed is 1). 65

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/alias/head/RestAliasesExistAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 68
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 77

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/alias/put/RestIndexPutAliasAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_alias/{name}" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "/_alias/{name}" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_aliases/{name}" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "/_aliases/{name}" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 67
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 107

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/analyze/RestAnalyzeAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_analyze" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_analyze" appears 2 times in the file. 42

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/cache/clear/RestClearIndicesCacheAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_cache/clear" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_cache/clear" appears 2 times in the file. 50

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/create/RestCreateIndexAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{index}" appears 2 times in the file. 38

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/flush/RestFlushAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_flush" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_flush" appears 2 times in the file. 47

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/get/RestGetIndicesAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 70

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/mapping/get/RestGetFieldMappingAction.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 79 position 46 need optimization. All method calls are advised to move to end of logic expression. 79

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/mapping/get/RestGetMappingAction.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildResponse' method is 2 (max allowed is 1). 67
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 75

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/mapping/put/RestPutMappingAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_mapping/" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_mapping" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_mapping/{type}" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "/_mapping/{type}" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_mappings/" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_mappings" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_mappings/{type}" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "/_mappings/{type}" appears 2 times in the file. 59

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/optimize/RestOptimizeAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_optimize" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_optimize" appears 2 times in the file. 47

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/refresh/RestRefreshAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_refresh" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_refresh" appears 2 times in the file. 47

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/settings/RestUpdateSettingsAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "timeout" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "master_timeout" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "settings." appears 2 times in the file. 65

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/stats/RestIndicesStatsAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "types" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "groups" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "completion_fields" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "fielddata_fields" appears 2 times in the file. 100

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/template/put/RestPutIndexTemplateAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_template/{name}" appears 2 times in the file. 37

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/upgrade/RestUpgradeAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_upgrade" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_upgrade" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 70

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/validate/query/RestValidateQueryAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_validate/query" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_validate/query" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_validate/query" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "valid" appears 2 times in the file. 86

elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/warmer/put/RestPutWarmerAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_warmer/{name}" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_warmer/{name}" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_warmer/{name}" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "/_warmers/{name}" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_warmers/{name}" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_warmers/{name}" appears 2 times in the file. 48

elasticsearch/src/main/java/org/elasticsearch/rest/action/bulk/RestBulkAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_bulk" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_bulk" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_bulk" appears 2 times in the file. 65

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/AbstractCatAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " | " appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 60

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestAliasAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "-" appears 3 times in the file. 95

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestAllocationAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UNASSIGNED" appears 3 times in the file. 104

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestCountAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 89

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestFielddataAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "desc:node id" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "host" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "alias:h;desc:host name" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "desc:ip address" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "node" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "alias:n;desc:node name" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "total" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "text-align:right;desc:total field data usage" appears 2 times in the file. 86

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestHealthAction.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 88

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestIndicesAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "local" appears 2 times in the file. 68

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestMasterAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "-" appears 4 times in the file. 83

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestNodesAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "-" appears 3 times in the file. 244
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 254
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 255
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 256
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 262
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 264
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 265

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestRecoveryAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "n/a" appears 3 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "%1.1f%%" appears 3 times in the file. 157

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestSegmentsAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 53

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestShardsAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 58

elasticsearch/src/main/java/org/elasticsearch/rest/action/cat/RestThreadPoolAction.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 52
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 90
 Warning extension MultipleStringLiteralsExtended The String "alias:" appears 11 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String " threads" appears 7 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String " threads in queue" appears 2 times in the file. 186

elasticsearch/src/main/java/org/elasticsearch/rest/action/count/RestCountAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_count" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_count" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_count" appears 2 times in the file. 54

elasticsearch/src/main/java/org/elasticsearch/rest/action/deletebyquery/RestDeleteByQueryAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 54

elasticsearch/src/main/java/org/elasticsearch/rest/action/explain/RestExplainAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/{id}/_explain" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "source" appears 2 times in the file. 66

elasticsearch/src/main/java/org/elasticsearch/rest/action/get/RestGetAction.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 81

elasticsearch/src/main/java/org/elasticsearch/rest/action/get/RestGetSourceAction.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 78

elasticsearch/src/main/java/org/elasticsearch/rest/action/get/RestHeadAction.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 64

elasticsearch/src/main/java/org/elasticsearch/rest/action/get/RestMultiGetAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_mget" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_mget" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_mget" appears 2 times in the file. 47

elasticsearch/src/main/java/org/elasticsearch/rest/action/index/RestIndexAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/{id}" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/{id}/_create" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "op_type" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "ttl" appears 2 times in the file. 79

elasticsearch/src/main/java/org/elasticsearch/rest/action/main/RestMainAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 76

elasticsearch/src/main/java/org/elasticsearch/rest/action/mlt/RestMoreLikeThisAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/{id}/_mlt" appears 2 times in the file. 45

elasticsearch/src/main/java/org/elasticsearch/rest/action/percolate/RestMultiPercolateAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_mpercolate" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_mpercolate" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_mpercolate" appears 2 times in the file. 47

elasticsearch/src/main/java/org/elasticsearch/rest/action/percolate/RestPercolateAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_percolate" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/{id}/_percolate" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_percolate/count" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/{id}/_percolate/count" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "routing" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "preference" appears 2 times in the file. 65

elasticsearch/src/main/java/org/elasticsearch/rest/action/script/RestGetIndexedScriptAction.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 62

elasticsearch/src/main/java/org/elasticsearch/rest/action/script/RestPutIndexedScriptAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_scripts/{lang}/{id}" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "/_scripts/{lang}/{id}/_create" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "op_type" appears 2 times in the file. 68

elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestMultiSearchAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_msearch" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_msearch" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_msearch" appears 2 times in the file. 50

elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestSearchAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_search" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_search" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_search" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "/_search/template" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_search/template" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_search/template" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "/_search/exists" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_search/exists" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_search/exists" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "explain" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "timeout" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "terminate_after" appears 2 times in the file. 183
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 201
 Warning extension MultipleStringLiteralsExtended The String "track_scores" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "Illegal index boost [" appears 2 times in the file. 258
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 265

elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestSearchScrollAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_search/scroll" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "/_search/scroll/{scroll_id}" appears 2 times in the file. 47

elasticsearch/src/main/java/org/elasticsearch/rest/action/suggest/RestSuggestAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_suggest" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_suggest" appears 2 times in the file. 54

elasticsearch/src/main/java/org/elasticsearch/rest/action/support/RestActionListener.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 40
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 50
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 61

elasticsearch/src/main/java/org/elasticsearch/rest/action/support/RestActions.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "version" appears 2 times in the file. 43

elasticsearch/src/main/java/org/elasticsearch/rest/action/support/RestTable.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " " appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "h" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 165
 Warning extension ReturnCountExtended Return count for 'renderValue' method is 7 (max allowed is 1). 228
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "k" appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "m" appears 3 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "g" appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "t" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "p" appears 2 times in the file. 245

elasticsearch/src/main/java/org/elasticsearch/rest/action/template/RestPutSearchTemplateAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_search/template/{id}" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "/_search/template/{id}/_create" appears 2 times in the file. 44

elasticsearch/src/main/java/org/elasticsearch/rest/action/termvector/RestMultiTermVectorsAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/_mtermvectors" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "/{index}/_mtermvectors" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_mtermvectors" appears 2 times in the file. 45

elasticsearch/src/main/java/org/elasticsearch/rest/action/termvector/RestTermVectorAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/_termvector" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "/{index}/{type}/{id}/_termvector" appears 2 times in the file. 50
 Warning extension MoveVariableInsideIf Variable 'parser' can be moved inside the block at line '58' to restrict runtime creation. 57

elasticsearch/src/main/java/org/elasticsearch/rest/action/update/RestUpdateAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "routing" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "version_type" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "ttl" appears 4 times in the file. 108

elasticsearch/src/main/java/org/elasticsearch/rest/support/RestUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'decodeComponent' method is 2 (max allowed is 1). 144
 Warning extension MultipleStringLiteralsExtended The String " sequence at end of string: " appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 229

elasticsearch/src/main/java/org/elasticsearch/river/RiverModule.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadTypeModule' method is 3 (max allowed is 1). 66
 Warning extension MultipleStringLiteralsExtended The String "." appears 2 times in the file. 79
 Warning extension AvoidHidingCauseException Cause exception 'e3' was lost. 87

elasticsearch/src/main/java/org/elasticsearch/river/RiverName.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 27

elasticsearch/src/main/java/org/elasticsearch/river/RiversService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 107
 Warning extension MultipleStringLiteralsExtended The String "node" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "transport_address" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "_status" appears 2 times in the file. 161
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 164
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 181
 Warning extension MultipleStringLiteralsExtended The String "_meta" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "failed to (double) delete river [{}] content" appears 2 times in the file. 232
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 245
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 251

elasticsearch/src/main/java/org/elasticsearch/river/cluster/PublishRiverClusterStateAction.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 67

elasticsearch/src/main/java/org/elasticsearch/river/cluster/RiverClusterService.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 111
 Warning extension MultipleStringLiteralsExtended The String "], source [" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "]\n" appears 2 times in the file. 112

elasticsearch/src/main/java/org/elasticsearch/river/cluster/RiverNodeHelper.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "river" appears 2 times in the file. 35

elasticsearch/src/main/java/org/elasticsearch/river/routing/RiversRouter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'updateRiverClusterState' method is 3 (max allowed is 1). 113
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 161

elasticsearch/src/main/java/org/elasticsearch/script/NativeScriptEngineService.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49

elasticsearch/src/main/java/org/elasticsearch/script/ScriptModule.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 86
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 93
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 100

elasticsearch/src/main/java/org/elasticsearch/script/ScriptParameterParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Value must be of type String: [" appears 4 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 167

elasticsearch/src/main/java/org/elasticsearch/script/ScriptService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "sandbox" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "]" appears 9 times in the file. 135
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 140
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 141
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 142
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 143
 Warning extension MultipleStringLiteralsExtended The String "script" appears 4 times in the file. 143
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 145
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 146
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 147
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 148
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 149
 Warning extension MultipleStringLiteralsExtended The String "script_lang not supported [" appears 2 times in the file. 234
 Warning extension ReturnCountExtended Return count for 'compile' method is 3 (max allowed is 1). 250
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "template" appears 3 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "Unable to parse [" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "] lang [" appears 2 times in the file. 352
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 354
 Warning extension ReturnCountExtended Return count for 'getScriptFromResponse' method is 4 (max allowed is 1). 385
 Warning extension MoveVariableInsideIf Variable 'builder' can be moved inside the block at line '391' to restrict runtime creation. 389
 Warning extension MultipleStringLiteralsExtended The String "Unable to parse " appears 2 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String " as json" appears 2 times in the file. 398
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 463
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 477
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 504
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 561

elasticsearch/src/main/java/org/elasticsearch/script/expression/ExpressionScript.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 106

elasticsearch/src/main/java/org/elasticsearch/script/expression/ExpressionScriptEngineService.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 60
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 65
 Warning extension MultipleStringLiteralsExtended The String "_score" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "_value" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Field [" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "Cannot use expressions for updates" appears 2 times in the file. 145

elasticsearch/src/main/java/org/elasticsearch/script/expression/FieldDataValueSource.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 47

elasticsearch/src/main/java/org/elasticsearch/script/groovy/GroovySandboxExpressionChecker.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 61
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 76
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 92
 Warning extension ReturnCountExtended Return count for 'isAuthorized' method is 2 (max allowed is 1). 120

elasticsearch/src/main/java/org/elasticsearch/script/groovy/GroovyScriptEngineService.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'reloadConfig' is called in constructor body. 73
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 128
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 133
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 145
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 175
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 191
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 205
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 274

elasticsearch/src/main/java/org/elasticsearch/script/mustache/JsonEscapingMustacheFactory.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 37

elasticsearch/src/main/java/org/elasticsearch/script/mustache/MustacheScriptEngineService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 70
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 84
 Warning extension MultipleStringLiteralsExtended The String "Could not execute query template (failed to flush writer): " appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "Could not execute query template (failed to close writer): " appears 2 times in the file. 111

elasticsearch/src/main/java/org/elasticsearch/search/MultiValueMode.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 380
 Warning extension AvoidHidingCauseException Cause exception 't' was lost. 381
 Warning extension ReturnCountExtended Return count for 'select' method is 2 (max allowed is 1). 403
 Warning extension MultipleStringLiteralsExtended The String "can only sort root documents" appears 4 times in the file. 449
 Warning extension ReturnCountExtended Return count for 'select' method is 2 (max allowed is 1). 495
 Warning extension MultipleStringLiteralsExtended The String "Unsupported sort mode: " appears 2 times in the file. 570
 Warning extension ReturnCountExtended Return count for 'select' method is 2 (max allowed is 1). 578
 Warning extension ReturnCountExtended Return count for 'select' method is 2 (max allowed is 1). 672

elasticsearch/src/main/java/org/elasticsearch/search/SearchContextException.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 43
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 47

elasticsearch/src/main/java/org/elasticsearch/search/SearchParseException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Parse Failure [" appears 2 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 31

elasticsearch/src/main/java/org/elasticsearch/search/SearchService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 105
 Warning extension MultipleStringLiteralsExtended The String "search." appears 2 times in the file. 105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 107
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 214
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 240
 Warning extension MultipleStringLiteralsExtended The String "Scan phase failed" appears 2 times in the file. 241
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 268
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 307
 Warning extension MultipleStringLiteralsExtended The String "Query phase failed" appears 3 times in the file. 313
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 332
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 347
 Warning extension MultipleStringLiteralsExtended The String "Failed to set aggregated df" appears 2 times in the file. 350
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 359
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 377
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 392
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 398
 Warning extension MultipleStringLiteralsExtended The String "Fetch phase failed" appears 4 times in the file. 399
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 412
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 422
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 437
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 443
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 461
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 476
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 482
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 509
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 579
 Warning extension MultipleStringLiteralsExtended The String "params" appears 2 times in the file. 647
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 703
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 714
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 718
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 729
 Warning extension MoveVariableInsideIf Variable 'indexName' can be moved inside the block at line '807' to restrict runtime creation. 806
 Warning extension MoveVariableInsideIf Variable 'start' can be moved inside the block at line '828' to restrict runtime creation. 821
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 832
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 861
 Warning extension MoveVariableInsideIf Variable 'start' can be moved inside the block at line '889' to restrict runtime creation. 887
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 892
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 915
 Warning extension MoveVariableInsideIf Variable 'start' can be moved inside the block at line '941' to restrict runtime creation. 938
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 944
 Warning extension MoveVariableInsideIf Variable 'took' can be moved inside the block at line '1,004' to restrict runtime creation. 1003
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1007
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1043

elasticsearch/src/main/java/org/elasticsearch/search/SearchShardTarget.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 35
 Warning extension MultipleStringLiteralsExtended The String "][" appears 3 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 146

elasticsearch/src/main/java/org/elasticsearch/search/action/SearchServiceTransportAction.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 560
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 573
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 624

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/AbstractAggregationBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 29

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/AggregationBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "aggregations" appears 2 times in the file. 112

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/AggregationPhase.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 127

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/Aggregator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 156
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 157
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 158
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 159
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 160
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 161
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 163
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 164
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 165
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 166
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 168
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 169
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 181

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/AggregatorFactories.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/AggregatorParsers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Expected [" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "], but got a [" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "] in [" appears 3 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 105

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/BucketCollector.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'wrap' method is 2 (max allowed is 1). 68

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/children/ChildrenParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 59

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/children/InternalChildren.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/children/ParentToChildrenAggregator.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 114
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 150

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/filter/InternalFilter.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 50

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/filters/FiltersAggregationBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "filters" appears 2 times in the file. 85

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/filters/FiltersParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "filters" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "]." appears 3 times in the file. 68

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/filters/InternalFilters.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 115
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 116
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 118
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 120

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/geogrid/GeoHashGridParser.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 54

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/geogrid/InternalGeoHashGrid.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 125
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 126
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 127
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 129
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 132

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/global/GlobalAggregator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "global aggregator can only be a top level aggregator" appears 2 times in the file. 43

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/global/InternalGlobal.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 49
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogram.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 84
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 86

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/DateHistogramParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "offset" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "time_zone" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "pre_zone_adjust_large_interval" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 5 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 6 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 7 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "]." appears 8 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "min" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "max" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "Unknown extended_bounds key for a " appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String " in aggregation [" appears 2 times in the file. 172

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/ExtendedBounds.java

Severity Category Rule Message Line
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 64

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/Histogram.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_key" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "_count" appears 2 times in the file. 85

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/HistogramParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String " in aggregation [" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "]." appears 4 times in the file. 81

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/InternalDateHistogram.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 105
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 107

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/histogram/InternalHistogram.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 203
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 204
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 205
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 206
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 207
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 208
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 209
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 211
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 213
 Warning extension MoveVariableInsideIf Variable 'nextBucket' can be moved inside the block at line '319' to restrict runtime creation. 318

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/missing/InternalMissing.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 49
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 52

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/nested/InternalNested.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/nested/InternalReverseNested.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/nested/NestedAggregator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getChildren' method is 2 (max allowed is 1). 204

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/nested/NestedParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 52

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/nested/ReverseNestedAggregator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'create' method is 3 (max allowed is 1). 140

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/nested/ReverseNestedParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 52

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/InternalRange.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'generateKey' is called in constructor body. 74
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 174
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 174
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 176
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 198
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 199
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 200
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 201
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 203
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 205

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/RangeAggregator.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 141
 Warning extension ReturnCountExtended Return count for 'collect' method is 2 (max allowed is 1). 147
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 148
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 163
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 174

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/RangeParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "to" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "]." appears 3 times in the file. 92

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/date/DateRangeParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "to" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "]." appears 4 times in the file. 82

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/date/InternalDateRange.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 54
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 100
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 102

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/geodistance/GeoDistanceBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 228

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/geodistance/GeoDistanceParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 63
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 83
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "]." appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "from" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "to" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 144

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/geodistance/InternalGeoDistance.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 52
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 88
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 90

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/ipv4/IPv4RangeBuilder.java

Severity Category Rule Message Line
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 68
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 136

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/ipv4/InternalIPv4Range.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 54
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 69
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 75
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 102
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 104

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/range/ipv4/IpRangeParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "from" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "to" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "]." appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 116

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/GlobalOrdinalsSignificantTermsAggregator.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 79
 Warning extension LogicConditionNeedOptimization Condition with && at line 85 position 59 need optimization. All method calls are advised to move to end of logic expression. 85

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantLongTerms.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 101
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 106

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantLongTermsAggregator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'CTOR(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 51

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantStringTerms.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 102
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 104

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTerms.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Bucket' does not extend anything. 39

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTermsAggregatorFactory.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 131
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 132
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 133
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 134
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 135
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 136
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 137
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 138
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 139
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 145
 Warning extension ReturnCountExtended Return count for 'create' method is 2 (max allowed is 1). 172

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTermsBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "exclude clause must be an array of strings or a regex, not both" appears 3 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "include clause must be an array of exact values or a regex, not both" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "include" appears 3 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "pattern" appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "flags" appears 2 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "exclude" appears 3 times in the file. 248

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTermsParametersParser.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 70

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/UnmappedSignificantTerms.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 44
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 57
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 59

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/ChiSquare.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 54
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 78

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/GND.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 58
 Warning extension ReturnCountExtended Return count for 'getScore' method is 3 (max allowed is 1). 75

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/JLHScore.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 42
 Warning extension ReturnCountExtended Return count for 'getScore' method is 2 (max allowed is 1). 64
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 96

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/MutualInformation.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 56
 Warning extension MoveVariableInsideIf Variable 'denominator' can be moved inside the block at line '110' to restrict runtime creation. 106

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/NXYSignificanceHeuristic.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 69
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 85

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/PercentageScore.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 41

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/ScriptHeuristic.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 55
 Warning extension MultipleStringLiteralsExtended The String "_subset_freq" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "_subset_size" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "_superset_freq" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "_superset_size" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "params" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String " in script_heuristic" appears 2 times in the file. 154
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 174

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/SignificantTermsHeuristicModule.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 37
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 38
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 39
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 40
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 41
 Warning extension OverridableMethodInConstructor Overridable method 'registerParser' is called in constructor body. 42

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/significant/heuristics/TransportSignificantTermsHeuristicModule.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'registerStream' is called in constructor body. 35
 Warning extension OverridableMethodInConstructor Overridable method 'registerStream' is called in constructor body. 36
 Warning extension OverridableMethodInConstructor Overridable method 'registerStream' is called in constructor body. 37
 Warning extension OverridableMethodInConstructor Overridable method 'registerStream' is called in constructor body. 38
 Warning extension OverridableMethodInConstructor Overridable method 'registerStream' is called in constructor body. 39
 Warning extension OverridableMethodInConstructor Overridable method 'registerStream' is called in constructor body. 40

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/AbstractTermsParametersParser.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 64
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 73

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/DoubleTerms.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 97
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 99
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 101
 Warning extension LogicConditionNeedOptimization Condition with && at line 144 position 65 need optimization. All method calls are advised to move to end of logic expression. 144
 Warning extension LogicConditionNeedOptimization Condition with && at line 175 position 66 need optimization. All method calls are advised to move to end of logic expression. 175

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/GlobalOrdinalsStringTermsAggregator.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 156
 Warning extension LogicConditionNeedOptimization Condition with && at line 162 position 59 need optimization. All method calls are advised to move to end of logic expression. 162

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/InternalOrder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 51
 Warning extension MultipleStringLiteralsExtended The String "_count" appears 2 times in the file. 51
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 72
 Warning extension MultipleStringLiteralsExtended The String "_term" appears 2 times in the file. 72
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 83
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 107
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 109
 Warning extension ReturnCountExtended Return count for 'comparator' method is 3 (max allowed is 1). 157
 Warning extension MultipleStringLiteralsExtended The String "this should be picked up before the aggregation is executed - on validate" appears 3 times in the file. 175
 Warning extension LogicConditionNeedOptimization Condition with && at line 283 position 89 need optimization. All method calls are advised to move to end of logic expression. 283
 Warning extension ReturnCountExtended Return count for 'readOrder' method is 5 (max allowed is 1). 331

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/InternalTerms.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 161 position 54 need optimization. All method calls are advised to move to end of logic expression. 161
 Warning extension LogicConditionNeedOptimization Condition with || at line 161 position 94 need optimization. All method calls are advised to move to end of logic expression. 161

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/LongTerms.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 100
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 102
 Warning extension LogicConditionNeedOptimization Condition with && at line 145 position 65 need optimization. All method calls are advised to move to end of logic expression. 145
 Warning extension LogicConditionNeedOptimization Condition with && at line 176 position 66 need optimization. All method calls are advised to move to end of logic expression. 176

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/StringTerms.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 99
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 101
 Warning extension LogicConditionNeedOptimization Condition with && at line 142 position 65 need optimization. All method calls are advised to move to end of logic expression. 142
 Warning extension LogicConditionNeedOptimization Condition with && at line 172 position 66 need optimization. All method calls are advised to move to end of logic expression. 172

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/StringTermsAggregator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 45
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 79

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/TermsAggregatorFactory.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'create' method is 3 (max allowed is 1). 185

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/TermsBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "include clause must be an array of exact values or a regex, not both" appears 3 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "exclude clause must be an array of exact values or a regex, not both" appears 4 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "include" appears 3 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "pattern" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "flags" appears 2 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "exclude" appears 3 times in the file. 301

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/TermsParametersParser.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 46
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 48
 Warning extension MultipleStringLiteralsExtended The String "order" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "]." appears 6 times in the file. 59

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/UnmappedTerms.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 42
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 55
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 57

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/support/IncludeExclude.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'token' method is 8 (max allowed is 1). 222
 Warning extension MultipleStringLiteralsExtended The String "include" appears 3 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "exclude" appears 3 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "pattern" appears 2 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "flags" appears 4 times in the file. 255
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 312

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/avg/InternalAvg.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 53
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 54
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 56
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 58

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/cardinality/CardinalityAggregator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createCollector' method is 5 (max allowed is 1). 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 238
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 239
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 240
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 241
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 242
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 244

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/cardinality/CardinalityAggregatorFactory.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 53 position 60 need optimization. All method calls are advised to move to end of logic expression. 53

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/cardinality/CardinalityParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 65

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/cardinality/HyperLogLogPlusPlus.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 86
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 116
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 119
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 121
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 123
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 125
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 129
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 131
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 137
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 139
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 141
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 143
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 149
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 152
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 156
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 157
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 158
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 159
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 160
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 160
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 161
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 163
 Warning extension ReturnCountExtended Return count for 'cardinalityHll' method is 2 (max allowed is 1). 280
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 283
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 293
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 347
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 387
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 389
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 476
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 520

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/cardinality/InternalCardinality.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 53
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 55
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 61

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/geobounds/GeoBoundsParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String " in aggregation [" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 59

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/geobounds/InternalGeoBounds.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'bottomRight' can be moved inside the block at line '110' to restrict runtime creation. 109
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 2 times in the file. 114

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/max/InternalMax.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 53
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 55
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 57
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 68

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/min/InternalMin.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 54
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 56
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 58
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 69

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/percentiles/AbstractPercentilesAggregator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 44
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 45
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 46
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 47
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 48
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 49
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/percentiles/AbstractPercentilesParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "]." appears 4 times in the file. 72

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/percentiles/InternalPercentileRanks.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 53

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/percentiles/InternalPercentiles.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 51
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 53

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/percentiles/PercentilesParser.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 35

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/scripted/InternalScriptedMetric.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 67
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 89

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/scripted/ScriptedMetricAggregator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_agg" appears 2 times in the file. 60
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 170

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/scripted/ScriptedMetricParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "]." appears 4 times in the file. 75

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/stats/InternalStats.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 66
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 68
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 70

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/stats/extended/ExtendedStatsParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "]." appears 2 times in the file. 68

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/stats/extended/InternalExtendedStats.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 66
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 68
 Warning extension MultipleStringLiteralsExtended The String "sum_of_squares" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "variance" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "std_deviation" appears 2 times in the file. 88

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/sum/InternalSum.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 53
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 55
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 57
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 68

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/tophits/InternalTopHits.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 62
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 67
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 75

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/tophits/TopHitsAggregator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildAggregation' method is 2 (max allowed is 1). 65

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/tophits/TopHitsParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unknown key for a " appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String " in [" appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "]: [" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "]." appears 4 times in the file. 97
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 124

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/metrics/valuecount/InternalValueCount.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 54
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 56

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/AggregationContext.java

Severity Category Rule Message Line
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 54
 Warning extension ReturnCountExtended Return count for 'valuesSource' method is 5 (max allowed is 1). 114

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/GeoPointParser.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'token' method is 4 (max allowed is 1). 50
 Warning extension MultipleStringLiteralsExtended The String "malformed [" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "] " appears 2 times in the file. 69

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/OrderPath.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ">" appears 2 times in the file. 66
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 72
 Warning extension MultipleStringLiteralsExtended The String "Invalid path element [" appears 5 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "] in path [" appears 5 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "]" appears 10 times in the file. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 118
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 119
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 153
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 155
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 186
 Warning extension MultipleStringLiteralsExtended The String "Invalid order path [" appears 5 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "doc_count" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "]. Unknown value key [" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 213
 Warning extension LogicConditionNeedOptimization Condition with && at line 246 position 65 need optimization. All method calls are advised to move to end of logic expression. 246
 Warning extension LogicConditionNeedOptimization Condition with && at line 247 position 68 need optimization. All method calls are advised to move to end of logic expression. 247
 Warning extension MultipleStringLiteralsExtended The String "this should be picked up before aggregation execution - on validate" appears 2 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "Invalid terms aggregation order path [" appears 7 times in the file. 284
 Warning extension MultipleStringLiteralsExtended The String "]. Terms buckets can only be sorted on a sub-aggregator path " appears 3 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "that is built out of zero or more single-bucket aggregations within the path and a final " appears 2 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "] points to non single-bucket aggregation" appears 2 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "Either drop the key (a la \"" appears 2 times in the file. 314

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/ValueType.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 2 times in the file. 63

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/ValuesSource.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 201
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 205
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 206
 Warning extension MultipleStringLiteralsExtended The String "_value" appears 3 times in the file. 489
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 607
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 677

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/ValuesSourceParser.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 77
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 79
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 84
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 86
 Warning extension ReturnCountExtended Return count for 'token' method is 4 (max allowed is 1). 93
 Warning extension ReturnCountExtended Return count for 'config' method is 4 (max allowed is 1). 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 148
 Warning extension LogicConditionNeedOptimization Condition with && at line 198 position 82 need optimization. All method calls are advised to move to end of logic expression. 198

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/format/ValueFormat.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 77
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 93

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/format/ValueFormatter.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 113
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 115
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 119

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/format/ValueParser.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'nfe' was lost. 172
 Warning extension MultipleStringLiteralsExtended The String "Invalid number format [" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 172
 Warning extension AvoidHidingCauseException Cause exception 'nfe' was lost. 181

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/values/ScriptBytesValues.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ScriptBytesValues' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 37

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/values/ScriptDoubleValues.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ScriptDoubleValues' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 38

elasticsearch/src/main/java/org/elasticsearch/search/aggregations/support/values/ScriptLongValues.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'ScriptLongValues' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 39

elasticsearch/src/main/java/org/elasticsearch/search/builder/SearchSourceBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 82
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 84
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 86
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 90
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 92
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 94
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 103
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 105
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 106
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 107
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 109
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 111
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 112
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 114
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 115
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 118
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 122
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 124
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 125
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 127
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 129
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 135
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 135
 Warning extension MultipleStringLiteralsExtended The String "Failed to generate [" appears 4 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 193
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 548
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 548
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 548
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 730
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 744
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 775
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 813
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 2 times in the file. 814
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 825
 Warning extension MultipleStringLiteralsExtended The String "include" appears 2 times in the file. 849
 Warning extension MultipleStringLiteralsExtended The String "exclude" appears 2 times in the file. 856
 Warning extension MultipleStringLiteralsExtended The String "facets" appears 2 times in the file. 911
 Warning extension MultipleStringLiteralsExtended The String "aggregations" appears 2 times in the file. 928
 Warning extension MultipleStringLiteralsExtended The String "rescore" appears 2 times in the file. 968
 Warning extension LogicConditionNeedOptimization Condition with && at line 970 position 64 need optimization. All method calls are advised to move to end of logic expression. 970
 Warning extension MultipleStringLiteralsExtended The String "window_size" appears 2 times in the file. 971
 Warning extension LogicConditionNeedOptimization Condition with && at line 979 position 60 need optimization. All method calls are advised to move to end of logic expression. 979
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1040
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1041

elasticsearch/src/main/java/org/elasticsearch/search/controller/SearchPhaseController.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'sortDocs' method is 3 (max allowed is 1). 151
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 247
 Warning extension ReturnCountExtended Return count for 'merge' method is 2 (max allowed is 1). 273

elasticsearch/src/main/java/org/elasticsearch/search/dfs/DfsPhase.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 89

elasticsearch/src/main/java/org/elasticsearch/search/facet/FacetExecutor.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 73

elasticsearch/src/main/java/org/elasticsearch/search/facet/FacetParseElement.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 91

elasticsearch/src/main/java/org/elasticsearch/search/facet/FacetPhase.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 122
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 123
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 149
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 192

elasticsearch/src/main/java/org/elasticsearch/search/facet/FacetPhaseExecutionException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Facet [" appears 2 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "]: " appears 2 times in the file. 30

elasticsearch/src/main/java/org/elasticsearch/search/facet/datehistogram/DateHistogramFacet.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "time" appears 2 times in the file. 44
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58
 Warning extension MultipleStringLiteralsExtended The String "count" appears 2 times in the file. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75
 Warning extension MultipleStringLiteralsExtended The String "total" appears 2 times in the file. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 92
 Warning extension MultipleStringLiteralsExtended The String "No type argument match for histogram comparator [" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 128

elasticsearch/src/main/java/org/elasticsearch/search/facet/datehistogram/DateHistogramFacetBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 212

elasticsearch/src/main/java/org/elasticsearch/search/facet/datehistogram/DateHistogramFacetParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 82
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 96
 Warning extension MultipleStringLiteralsExtended The String "] not found" appears 2 times in the file. 171

elasticsearch/src/main/java/org/elasticsearch/search/facet/datehistogram/InternalCountDateHistogramFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 113
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 116

elasticsearch/src/main/java/org/elasticsearch/search/facet/datehistogram/InternalDateHistogramFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 34
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 37

elasticsearch/src/main/java/org/elasticsearch/search/facet/datehistogram/InternalFullDateHistogramFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 120
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 123
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 126
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 130
 Warning extension ReturnCountExtended Return count for 'reduce' method is 2 (max allowed is 1). 147

elasticsearch/src/main/java/org/elasticsearch/search/facet/datehistogram/ValueScriptDateHistogramFacetExecutor.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 114

elasticsearch/src/main/java/org/elasticsearch/search/facet/filter/FilterFacetExecutor.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 74

elasticsearch/src/main/java/org/elasticsearch/search/facet/filter/FilterFacetParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 46

elasticsearch/src/main/java/org/elasticsearch/search/facet/filter/InternalFilterFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63

elasticsearch/src/main/java/org/elasticsearch/search/facet/geodistance/GeoDistanceFacetBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 223

elasticsearch/src/main/java/org/elasticsearch/search/facet/geodistance/GeoDistanceFacetParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 56
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 70
 Warning extension MultipleStringLiteralsExtended The String "failed to find mapping for [" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 165

elasticsearch/src/main/java/org/elasticsearch/search/facet/geodistance/InternalGeoDistanceFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 66

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/CountHistogramFacetExecutor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/FullHistogramFacetExecutor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 76

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/HistogramFacet.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 44
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 58
 Warning extension MultipleStringLiteralsExtended The String "count" appears 2 times in the file. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 75
 Warning extension MultipleStringLiteralsExtended The String "total" appears 2 times in the file. 78
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 92
 Warning extension MultipleStringLiteralsExtended The String "No type argument match for histogram comparator [" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 128

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/HistogramFacetBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 125

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/HistogramFacetParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 50
 Warning extension ReturnCountExtended Return count for 'parse' method is 5 (max allowed is 1). 64
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 135

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/HistogramScriptFacetBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 114

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/InternalCountHistogramFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 112
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 115
 Warning extension ReturnCountExtended Return count for 'reduce' method is 2 (max allowed is 1). 132

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/InternalFullHistogramFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 117
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 120
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 123
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 127
 Warning extension ReturnCountExtended Return count for 'reduce' method is 2 (max allowed is 1). 144

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/InternalHistogramFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 33
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 36

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/ScriptHistogramFacetExecutor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 80

elasticsearch/src/main/java/org/elasticsearch/search/facet/histogram/ValueScriptHistogramFacetExecutor.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 83

elasticsearch/src/main/java/org/elasticsearch/search/facet/nested/NestedFacetExecutor.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "facet nested path [" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "] not found" appears 2 times in the file. 57
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 114
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 140
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 211

elasticsearch/src/main/java/org/elasticsearch/search/facet/query/InternalQueryFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 64

elasticsearch/src/main/java/org/elasticsearch/search/facet/query/QueryFacetExecutor.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 83
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 119

elasticsearch/src/main/java/org/elasticsearch/search/facet/query/QueryFacetParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45

elasticsearch/src/main/java/org/elasticsearch/search/facet/range/InternalRangeFacet.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "range" appears 2 times in the file. 43
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 66

elasticsearch/src/main/java/org/elasticsearch/search/facet/range/RangeFacetBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "from" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "to" appears 2 times in the file. 180

elasticsearch/src/main/java/org/elasticsearch/search/facet/range/RangeFacetParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 65
 Warning extension MultipleStringLiteralsExtended The String "from" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "to" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 159

elasticsearch/src/main/java/org/elasticsearch/search/facet/range/RangeScriptFacetBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 132

elasticsearch/src/main/java/org/elasticsearch/search/facet/statistical/InternalStatisticalFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 62
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 64
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 67

elasticsearch/src/main/java/org/elasticsearch/search/facet/statistical/StatisticalFacetBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 85

elasticsearch/src/main/java/org/elasticsearch/search/facet/statistical/StatisticalFacetParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 52
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 66
 Warning extension MultipleStringLiteralsExtended The String "No mapping found for field [" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "field [" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "] isn't a number field, but a " appears 2 times in the file. 117

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/InternalTermsFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 37
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 40

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/TermsFacet.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "No type argument match for terms facet comparator [" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 127

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/TermsFacetBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 219

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/TermsFacetParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69
 Warning extension ReturnCountExtended Return count for 'parse' method is 9 (max allowed is 1). 83
 Warning extension MultipleStringLiteralsExtended The String "unknown parameter [" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "] while parsing terms facet [" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 109

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/doubles/InternalDoubleTermsFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 114
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 117
 Warning extension ReturnCountExtended Return count for 'reduce' method is 2 (max allowed is 1). 160

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/doubles/TermsDoubleFacetExecutor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildFacet' method is 2 (max allowed is 1). 94

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/longs/InternalLongTermsFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 115
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 118
 Warning extension ReturnCountExtended Return count for 'reduce' method is 2 (max allowed is 1). 161

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/longs/TermsLongFacetExecutor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildFacet' method is 2 (max allowed is 1). 93

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/strings/FieldsTermsStringFacetExecutor.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 62 position 31 need optimization. All method calls are advised to move to end of logic expression. 62
 Warning extension LogicConditionNeedOptimization Condition with && at line 62 position 50 need optimization. All method calls are advised to move to end of logic expression. 62

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/strings/HashedAggregator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "asserting counter diverged from current counter - value: " appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String " hash: " appears 2 times in the file. 62
 Warning extension ReturnCountExtended Return count for 'buildFacet' method is 2 (max allowed is 1). 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 119
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 165
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 176

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/strings/HashedScriptAggregator.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "not converted" appears 2 times in the file. 62

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/strings/InternalStringTermsFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 125
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 128
 Warning extension ReturnCountExtended Return count for 'reduce' method is 2 (max allowed is 1). 171

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/strings/ScriptTermsStringFieldFacetExecutor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildFacet' method is 2 (max allowed is 1). 82
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 100
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 155
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 169

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/strings/TermsStringFacetExecutor.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 66 position 31 need optimization. All method calls are advised to move to end of logic expression. 66
 Warning extension LogicConditionNeedOptimization Condition with && at line 66 position 50 need optimization. All method calls are advised to move to end of logic expression. 66
 Warning extension MoveVariableInsideIf Variable 'maxDoc' can be moved inside the block at line '140' to restrict runtime creation. 132

elasticsearch/src/main/java/org/elasticsearch/search/facet/terms/strings/TermsStringOrdinalsFacetExecutor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildFacet' method is 2 (max allowed is 1). 102
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 116
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 158

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/InternalTermsStatsFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 35
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 38

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/TermsStatsFacet.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 65
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 351

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/TermsStatsFacetBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 131

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/TermsStatsFacetParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 67
 Warning extension MultipleStringLiteralsExtended The String "failed to find mapping for " appears 2 times in the file. 126

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/doubles/InternalTermsStatsDoubleFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 128
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 137
 Warning extension ReturnCountExtended Return count for 'reduce' method is 3 (max allowed is 1). 172

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/doubles/TermsStatsDoubleFacetExecutor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildFacet' method is 2 (max allowed is 1). 75
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 91

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/longs/InternalTermsStatsLongFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 128
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 137
 Warning extension ReturnCountExtended Return count for 'reduce' method is 3 (max allowed is 1). 172

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/longs/TermsStatsLongFacetExecutor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildFacet' method is 2 (max allowed is 1). 76
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 93

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/strings/InternalTermsStatsStringFacet.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 142
 Warning extension ReturnCountExtended Return count for 'reduce' method is 3 (max allowed is 1). 177

elasticsearch/src/main/java/org/elasticsearch/search/facet/termsstats/strings/TermsStatsStringFacetExecutor.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'buildFacet' method is 2 (max allowed is 1). 78
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 93

elasticsearch/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 83
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 125
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 179
 Warning extension LogicConditionNeedOptimization Condition with || at line 268 position 38 need optimization. All method calls are advised to move to end of logic expression. 268

elasticsearch/src/main/java/org/elasticsearch/search/fetch/FetchPhaseExecutionException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Fetch Failed [" appears 2 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 31

elasticsearch/src/main/java/org/elasticsearch/search/fetch/ShardFetchSearchRequest.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 56

elasticsearch/src/main/java/org/elasticsearch/search/fetch/fielddata/FieldDataFieldsContext.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 44

elasticsearch/src/main/java/org/elasticsearch/search/fetch/fielddata/FieldDataFieldsFetchSubPhase.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 46

elasticsearch/src/main/java/org/elasticsearch/search/fetch/innerhits/InnerHitsContext.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'topDocs' method is 2 (max allowed is 1). 116
 Warning extension ReturnCountExtended Return count for 'getDocIdSet' method is 5 (max allowed is 1). 164
 Warning extension ReturnCountExtended Return count for 'topDocs' method is 3 (max allowed is 1). 253

elasticsearch/src/main/java/org/elasticsearch/search/fetch/innerhits/InnerHitsParseElement.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unexpected token " appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Inner hit definition for [" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String " starts with a [" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "], expected a [" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "]." appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String " inside inner hit definition. Either specify [path] or [type] object" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Expected [" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "] token, but got a [" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "] token." appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "] doesn't exist" appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "path [" appears 2 times in the file. 160

elasticsearch/src/main/java/org/elasticsearch/search/fetch/matchedqueries/MatchedQueriesFetchSubPhase.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'name' can be moved inside the block at line '100' to restrict runtime creation. 96

elasticsearch/src/main/java/org/elasticsearch/search/fetch/partial/PartialFieldsContext.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 56

elasticsearch/src/main/java/org/elasticsearch/search/fetch/partial/PartialFieldsFetchSubPhase.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 40

elasticsearch/src/main/java/org/elasticsearch/search/fetch/partial/PartialFieldsParseElement.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "include" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "exclude" appears 2 times in the file. 66

elasticsearch/src/main/java/org/elasticsearch/search/fetch/script/ScriptFieldsContext.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 58

elasticsearch/src/main/java/org/elasticsearch/search/fetch/script/ScriptFieldsFetchSubPhase.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 40

elasticsearch/src/main/java/org/elasticsearch/search/fetch/source/FetchSourceContext.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 60
 Warning extension ReturnCountExtended Return count for 'parseFromRestRequest' method is 2 (max allowed is 1). 140
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 170
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 211

elasticsearch/src/main/java/org/elasticsearch/search/fetch/source/FetchSourceParseElement.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'parse' method is 3 (max allowed is 1). 50
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 53
 Warning extension MoveVariableInsideIf Variable 'currentFieldName' can be moved inside the block at line '65' to restrict runtime creation. 54
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59

elasticsearch/src/main/java/org/elasticsearch/search/fetch/source/FetchSourceSubPhase.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 41

elasticsearch/src/main/java/org/elasticsearch/search/highlight/CustomQueryScorer.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'CustomWeightedSpanTermExtractor' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 71

elasticsearch/src/main/java/org/elasticsearch/search/highlight/FastVectorHighlighter.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 57
 Warning extension ReturnCountExtended Return count for 'highlight' method is 3 (max allowed is 1). 61
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 165
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 176

elasticsearch/src/main/java/org/elasticsearch/search/highlight/HighlightBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "pre_tags" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "post_tags" appears 2 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "order" appears 2 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "highlight_filter" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "fragment_size" appears 2 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "number_of_fragments" appears 2 times in the file. 357
 Warning extension MultipleStringLiteralsExtended The String "require_field_match" appears 2 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "boundary_max_scan" appears 2 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "boundary_chars" appears 2 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "fragmenter" appears 2 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "highlight_query" appears 2 times in the file. 378
 Warning extension MultipleStringLiteralsExtended The String "no_match_size" appears 2 times in the file. 381
 Warning extension MultipleStringLiteralsExtended The String "phrase_limit" appears 2 times in the file. 384
 Warning extension MultipleStringLiteralsExtended The String "options" appears 2 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "force_source" appears 2 times in the file. 390
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 394

elasticsearch/src/main/java/org/elasticsearch/search/highlight/HighlightModule.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'registerHighlighter' is called in constructor body. 35
 Warning extension OverridableMethodInConstructor Overridable method 'registerHighlighter' is called in constructor body. 36
 Warning extension OverridableMethodInConstructor Overridable method 'registerHighlighter' is called in constructor body. 37

elasticsearch/src/main/java/org/elasticsearch/search/highlight/HighlighterParseElement.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 58
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59
 Warning extension MultipleStringLiteralsExtended The String "</em>" appears 2 times in the file. 59
 Warning extension AvoidHidingCauseException Cause exception 'ex' was lost. 74
 Warning extension MultipleStringLiteralsExtended The String "pre_tags" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "preTags" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "post_tags" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "postTags" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "If highlighter fields is an array it must contain objects containing a single field" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "order" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "score" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "highlight_filter" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "highlightFilter" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "fragment_size" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "fragmentSize" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "number_of_fragments" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "numberOfFragments" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "require_field_match" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "requireFieldMatch" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "boundary_max_scan" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "boundaryMaxScan" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "boundary_chars" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "boundaryChars" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "fragmenter" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "no_match_size" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "noMatchSize" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "force_source" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "forceSource" appears 2 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "phrase_limit" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "phraseLimit" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "options" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "highlight_query" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "highlightQuery" appears 2 times in the file. 176

elasticsearch/src/main/java/org/elasticsearch/search/highlight/PlainHighlighter.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'highlight' method is 3 (max allowed is 1). 56
 Warning extension MoveVariableInsideIf Variable 'encoder' can be moved inside the block at line '72' to restrict runtime creation. 62
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 86
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 125
 Warning extension MultipleStringLiteralsExtended The String "Failed to highlight field [" appears 2 times in the file. 126
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 162
 Warning extension ReturnCountExtended Return count for 'findGoodEndForNoHighlightExcerpt' method is 2 (max allowed is 1). 172

elasticsearch/src/main/java/org/elasticsearch/search/highlight/PostingsHighlighter.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 55
 Warning extension ReturnCountExtended Return count for 'highlight' method is 2 (max allowed is 1). 59
 Warning extension MultipleStringLiteralsExtended The String "Failed to highlight field [" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 76
 Warning extension ReturnCountExtended Return count for 'rewrite' method is 2 (max allowed is 1). 149

elasticsearch/src/main/java/org/elasticsearch/search/highlight/SearchContextHighlight.java

Severity Category Rule Message Line
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 58
 Warning extension LogicConditionNeedOptimization Condition with && at line 334 position 87 need optimization. All method calls are advised to move to end of logic expression. 334

elasticsearch/src/main/java/org/elasticsearch/search/highlight/vectorhighlight/FragmentBuilderHelper.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'fixWeightedFragInfo' method is 2 (max allowed is 1). 49
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 53
 Warning extension ReturnCountExtended Return count for 'containsBrokenAnalysis' method is 4 (max allowed is 1). 78

elasticsearch/src/main/java/org/elasticsearch/search/highlight/vectorhighlight/SourceSimpleFragmentsBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 50

elasticsearch/src/main/java/org/elasticsearch/search/internal/ContextIndexSearcher.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 134

elasticsearch/src/main/java/org/elasticsearch/search/internal/InternalSearchHit.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 232
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 259
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 272
 Warning extension LogicConditionNeedOptimization Condition with && at line 435 position 34 need optimization. All method calls are advised to move to end of logic expression. 435
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 664

elasticsearch/src/main/java/org/elasticsearch/search/internal/InternalSearchHits.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 98
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 104
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 106
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 110

elasticsearch/src/main/java/org/elasticsearch/search/internal/InternalSearchResponse.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 48
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 50
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 54
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 63

elasticsearch/src/main/java/org/elasticsearch/search/internal/SearchContext.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 96
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 97
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 109

elasticsearch/src/main/java/org/elasticsearch/search/internal/ShardSearchTransportRequest.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 64

elasticsearch/src/main/java/org/elasticsearch/search/internal/SubSearchContext.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "this context should be read only" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Not supported" appears 16 times in the file. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 340

elasticsearch/src/main/java/org/elasticsearch/search/lookup/DocLookup.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 77

elasticsearch/src/main/java/org/elasticsearch/search/lookup/FieldsLookup.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 90

elasticsearch/src/main/java/org/elasticsearch/search/lookup/IndexField.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 71

elasticsearch/src/main/java/org/elasticsearch/search/lookup/IndexFieldTerm.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 148
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 151
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 169
 Warning extension MoveVariableInsideIf Variable 'doRecord' can be moved inside the block at line '178' to restrict runtime creation. 177
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 177
 Warning extension OverridableMethodInConstructor Calling the method 'withPositions' in constructor body leads to the call of the overridable method 'shouldRetrievePositions'. 178
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 179
 Warning extension OverridableMethodInConstructor Overridable method 'setNextReader' is called in constructor body. 187
 Warning extension OverridableMethodInConstructor Overridable method 'setNextDoc' is called in constructor body. 188
 Warning extension MultipleStringLiteralsExtended The String " " appears 4 times in the file. 240

elasticsearch/src/main/java/org/elasticsearch/search/lookup/IndexLookup.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 118
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 142
 Warning extension MoveVariableInsideIf Variable 'stringField' can be moved inside the block at line '195' to restrict runtime creation. 193
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 200
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 238

elasticsearch/src/main/java/org/elasticsearch/search/lookup/PositionIterator.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 35
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 37
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 42

elasticsearch/src/main/java/org/elasticsearch/search/lookup/SourceLookup.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'loadSourceIfNeeded' method is 2 (max allowed is 1). 58
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 80
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 121
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 125
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 129

elasticsearch/src/main/java/org/elasticsearch/search/query/QueryPhase.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 115 position 63 need optimization. All method calls are advised to move to end of logic expression. 115
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 162

elasticsearch/src/main/java/org/elasticsearch/search/rescore/QueryRescorer.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "max" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "min" appears 2 times in the file. 69
 Warning extension ReturnCountExtended Return count for 'explain' method is 2 (max allowed is 1). 140
 Warning extension MultipleStringLiteralsExtended The String "product of:" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 210
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 220
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 269
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 270
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 271
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 272

elasticsearch/src/main/java/org/elasticsearch/search/rescore/RescoreSearchContext.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'RescoreSearchContext' does not extend anything. 35

elasticsearch/src/main/java/org/elasticsearch/search/scan/ScanContext.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 133

elasticsearch/src/main/java/org/elasticsearch/search/sort/GeoDistanceSortParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 56

elasticsearch/src/main/java/org/elasticsearch/search/sort/ScriptSortParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 54
 Warning extension MultipleStringLiteralsExtended The String "_script" appears 2 times in the file. 54
 Warning extension LogicConditionNeedOptimization Condition with && at line 119 position 42 need optimization. All method calls are advised to move to end of logic expression. 119

elasticsearch/src/main/java/org/elasticsearch/search/sort/SortBuilder.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 39

elasticsearch/src/main/java/org/elasticsearch/search/sort/SortParseElement.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 62
 Warning extension MoveVariableInsideIf Variable 'innerJsonName' can be moved inside the block at line '141' to restrict runtime creation. 126
 Warning extension MultipleStringLiteralsExtended The String "asc" appears 2 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "] not supported" appears 3 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "sort option [" appears 2 times in the file. 175
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 223
 Warning extension LogicConditionNeedOptimization Condition with && at line 232 position 60 need optimization. All method calls are advised to move to end of logic expression. 232

elasticsearch/src/main/java/org/elasticsearch/search/suggest/Suggest.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 98 position 34 need optimization. All method calls are advised to move to end of logic expression. 98
 Warning extension MultipleStringLiteralsExtended The String "] expected [" appears 2 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 339
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 579

elasticsearch/src/main/java/org/elasticsearch/search/suggest/SuggestBuilder.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 84
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 97
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 125
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 324

elasticsearch/src/main/java/org/elasticsearch/search/suggest/SuggestModule.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'registerSuggester' is called in constructor body. 38
 Warning extension OverridableMethodInConstructor Overridable method 'registerSuggester' is called in constructor body. 39
 Warning extension OverridableMethodInConstructor Overridable method 'registerSuggester' is called in constructor body. 40

elasticsearch/src/main/java/org/elasticsearch/search/suggest/SuggestParseElement.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "[suggest] does not support [" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 66

elasticsearch/src/main/java/org/elasticsearch/search/suggest/SuggestionSearchContext.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 60
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 106
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 118

elasticsearch/src/main/java/org/elasticsearch/search/suggest/completion/AnalyzingCompletionLookupProvider.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56
 Warning extension MultipleStringLiteralsExtended The String "analyzing" appears 2 times in the file. 56
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 58
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 60
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 95
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 137
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 143
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 152
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 239
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 356

elasticsearch/src/main/java/org/elasticsearch/search/suggest/completion/Completion090PostingsFormat.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 242

elasticsearch/src/main/java/org/elasticsearch/search/suggest/completion/CompletionSuggestParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "fuzzy" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 96

elasticsearch/src/main/java/org/elasticsearch/search/suggest/completion/CompletionSuggestion.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Entry' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 63
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Option' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 81

elasticsearch/src/main/java/org/elasticsearch/search/suggest/completion/CompletionSuggestionContext.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 104

elasticsearch/src/main/java/org/elasticsearch/search/suggest/completion/CompletionSuggestionFuzzyBuilder.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 40
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 41
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 42
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 43
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'CTOR(.*)'. 44

elasticsearch/src/main/java/org/elasticsearch/search/suggest/completion/CompletionTokenStream.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'incrementToken' method is 2 (max allowed is 1). 60
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 74

elasticsearch/src/main/java/org/elasticsearch/search/suggest/context/CategoryContextMapping.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String ")" appears 2 times in the file. 260

elasticsearch/src/main/java/org/elasticsearch/search/suggest/context/ContextMapping.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'ContextMapping' does not extend anything. 79
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'Context' does not extend anything. 181

elasticsearch/src/main/java/org/elasticsearch/search/suggest/context/GeolocationContextMapping.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 4 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "field [" appears 3 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 4 times in the file. 171
 Warning extension ReturnCountExtended Return count for 'parseSinglePointOrList' method is 2 (max allowed is 1). 205
 Warning extension MoveVariableInsideIf Variable 'lon' can be moved inside the block at line '212' to restrict runtime creation. 211
 Warning extension MoveVariableInsideIf Variable 'lat' can be moved inside the block at line '214' to restrict runtime creation. 213
 Warning extension ReturnCountExtended Return count for 'parseQuery' method is 2 (max allowed is 1). 322
 Warning extension MultipleStringLiteralsExtended The String "only lat/lon or [" appears 3 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "] is allowed" appears 3 times in the file. 343
 Warning extension OverridableMethodInConstructor Overridable method 'neighbors' is called in constructor body. 452

elasticsearch/src/main/java/org/elasticsearch/search/suggest/phrase/NoisyChannelSpellChecker.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getCorrections' method is 2 (max allowed is 1). 62

elasticsearch/src/main/java/org/elasticsearch/search/suggest/phrase/PhraseSuggestParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "suggester[phrase] doesn't support field [" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "]" appears 13 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "suggester[phrase] doesn't support array field [" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "The required field option is missing" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "No mapping found for field [" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "Analyzer [" appears 2 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "] doesn't exists" appears 2 times in the file. 345

elasticsearch/src/main/java/org/elasticsearch/search/suggest/phrase/PhraseSuggester.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'directSpellChecker' can be moved inside the block at line '86' to restrict runtime creation. 84
 Warning extension LogicConditionNeedOptimization Condition with && at line 93 position 28 need optimization. All method calls are advised to move to end of logic expression. 93

elasticsearch/src/main/java/org/elasticsearch/search/suggest/phrase/PhraseSuggestionContext.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 81
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 109
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 225

elasticsearch/src/main/java/org/elasticsearch/search/suggest/phrase/StupidBackoffScorer.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 52
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 67
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 69

elasticsearch/src/main/java/org/elasticsearch/search/suggest/term/TermSuggestParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 50

elasticsearch/src/main/java/org/elasticsearch/search/suggest/term/TermSuggestion.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 165
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Option' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 166

elasticsearch/src/main/java/org/elasticsearch/search/suggest/term/TermSuggestionContext.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 33

elasticsearch/src/main/java/org/elasticsearch/search/warmer/IndexWarmersMetaData.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "types" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "source" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "queryCache" appears 2 times in the file. 186

elasticsearch/src/main/java/org/elasticsearch/snapshots/RestoreService.java

Severity Category Rule Message Line
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 193
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 233
 Warning extension MultipleStringLiteralsExtended The String "cannot restore index [" appears 2 times in the file. 297
 Warning extension LogicConditionNeedOptimization Condition with && at line 315 position 57 need optimization. All method calls are advised to move to end of logic expression. 315
 Warning extension MultipleStringLiteralsExtended The String "] on restore" appears 2 times in the file. 325
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 415
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 470
 Warning extension MoveVariableInsideIf Variable 'mdBuilder' can be moved inside the block at line '474' to restrict runtime creation. 472
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 485
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 569
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 606
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 718

elasticsearch/src/main/java/org/elasticsearch/snapshots/SnapshotMissingException.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "is missing" appears 2 times in the file. 32

elasticsearch/src/main/java/org/elasticsearch/snapshots/SnapshotShardFailure.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "node_id" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "reason" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "shard_id" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "status" appears 2 times in the file. 171
 Warning extension MoveVariableInsideIf Variable 'currentFieldName' can be moved inside the block at line '191' to restrict runtime creation. 189
 Warning extension MultipleStringLiteralsExtended The String "unexpected token [" appears 2 times in the file. 207

elasticsearch/src/main/java/org/elasticsearch/snapshots/SnapshotUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'filterIndices' method is 2 (max allowed is 1). 43
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 48
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 76

elasticsearch/src/main/java/org/elasticsearch/snapshots/SnapshotsService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 286
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 329
 Warning extension MultipleStringLiteralsExtended The String "[{}] failed to close snapshot in repository" appears 2 times in the file. 330
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 352
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 358
 Warning extension ReturnCountExtended Return count for 'currentSnapshots' method is 5 (max allowed is 1). 376
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 511
 Warning extension ReturnCountExtended Return count for 'execute' method is 3 (max allowed is 1). 527
 Warning extension MoveVariableInsideIf Variable 'mdBuilder' can be moved inside the block at line '584' to restrict runtime creation. 530
 Warning extension MoveVariableInsideIf Variable 'updatedSnapshot' can be moved inside the block at line '540' to restrict runtime creation. 538
 Warning extension MoveVariableInsideIf Variable 'snapshotChanged' can be moved inside the block at line '540' to restrict runtime creation. 539
 Warning extension LogicConditionNeedOptimization Condition with && at line 566 position 66 need optimization. All method calls are advised to move to end of logic expression. 566
 Warning extension LogicConditionNeedOptimization Condition with && at line 579 position 69 need optimization. All method calls are advised to move to end of logic expression. 579
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 604
 Warning extension MoveVariableInsideIf Variable 'routingTable' can be moved inside the block at line '609' to restrict runtime creation. 606
 Warning extension MoveVariableInsideIf Variable 'mdBuilder' can be moved inside the block at line '609' to restrict runtime creation. 607
 Warning extension MoveVariableInsideIf Variable 'updatedSnapshot' can be moved inside the block at line '614' to restrict runtime creation. 613
 Warning extension ReturnCountExtended Return count for 'processWaitingShards' method is 2 (max allowed is 1). 645
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 648
 Warning extension ReturnCountExtended Return count for 'removedNodesCleanupNeeded' method is 2 (max allowed is 1). 706
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 819
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 825
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 846
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 893
 Warning extension MoveVariableInsideIf Variable 'mdBuilder' can be moved inside the block at line '897' to restrict runtime creation. 895
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 905
 Warning extension MoveVariableInsideIf Variable 'shardId' can be moved inside the block at line '970' to restrict runtime creation. 968
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 977
 Warning extension ReturnCountExtended Return count for 'execute' method is 2 (max allowed is 1). 995
 Warning extension MoveVariableInsideIf Variable 'mdBuilder' can be moved inside the block at line '999' to restrict runtime creation. 997
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1032
 Warning extension ReturnCountExtended Return count for 'execute' method is 3 (max allowed is 1). 1055
 Warning extension MoveVariableInsideIf Variable 'mdBuilder' can be moved inside the block at line '1,071' to restrict runtime creation. 1057
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1080
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1189
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 1222

elasticsearch/src/main/java/org/elasticsearch/threadpool/ThreadPool.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "same" appears 5 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 98
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 110
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 111
 Warning extension MultipleStringLiteralsExtended The String "type" appears 18 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "cached" appears 4 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "keep_alive" appears 14 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "fixed" appears 10 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "size" appears 20 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "queue_size" appears 10 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "scaling" appears 8 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "5m" appears 6 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 230
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '&='. 279
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '&='. 284
 Warning extension ReturnCountExtended Return count for 'rebuild' method is 3 (max allowed is 1). 294
 Warning extension MultipleStringLiteralsExtended The String "updating thread_pool [{}], type [{}], keep_alive [{}]" appears 3 times in the file. 318
 Warning extension MultipleStringLiteralsExtended The String "queue" appears 3 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "capacity" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "min" appears 4 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "max" appears 3 times in the file. 379
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 499
 Warning extension MultipleStringLiteralsExtended The String "[threaded] " appears 2 times in the file. 516
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 600
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 752
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 771

elasticsearch/src/main/java/org/elasticsearch/transport/ActionNames.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "[shard][s]" appears 3 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "[s]" appears 4 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "[s][r]" appears 3 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "[r]" appears 2 times in the file. 333

elasticsearch/src/main/java/org/elasticsearch/transport/PlainTransportFuture.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Future got interrupted" appears 2 times in the file. 48
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 51
 Warning extension MultipleStringLiteralsExtended The String "Failed execution" appears 2 times in the file. 53
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 63
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 68
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 90

elasticsearch/src/main/java/org/elasticsearch/transport/TransportInfo.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 41

elasticsearch/src/main/java/org/elasticsearch/transport/TransportModule.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org.elasticsearch.transport." appears 2 times in the file. 61
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 62

elasticsearch/src/main/java/org/elasticsearch/transport/TransportRequest.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Empty' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 31

elasticsearch/src/main/java/org/elasticsearch/transport/TransportRequestOptions.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 64

elasticsearch/src/main/java/org/elasticsearch/transport/TransportResponse.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'Empty' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 31

elasticsearch/src/main/java/org/elasticsearch/transport/TransportResponseOptions.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 33

elasticsearch/src/main/java/org/elasticsearch/transport/TransportService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 64
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 88
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 89
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 107
 Warning extension OverridableMethodInConstructor Overridable method 'createAdapter' is called in constructor body. 109
 Warning extension MultipleStringLiteralsExtended The String ".*" appears 2 times in the file. 119
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 144
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 148
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 161
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 186
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 191
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 195
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 203
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 207
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 211
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 215
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 219
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 223
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 227
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 231
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 235
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 240
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 247
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 252
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 277
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 297
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 309
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 313
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 317
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 327
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 333

elasticsearch/src/main/java/org/elasticsearch/transport/local/LocalTransport.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 71
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 88
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 247
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 254
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 293
 Warning extension MultipleStringLiteralsExtended The String "Failed to send error message back to client for action [" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "Actual Exception" appears 2 times in the file. 295
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 301
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 304
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 316
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 330
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 342
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 355

elasticsearch/src/main/java/org/elasticsearch/transport/netty/MessageChannelHandler.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 95 position 47 need optimization. All method calls are advised to move to end of logic expression. 95
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 104
 Warning extension MoveVariableInsideIf Variable 'action' can be moved inside the block at line '115' to restrict runtime creation. 114
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 154
 Warning extension RedundantReturn Redundant return. 156
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 165
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 175
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 189
 Warning extension MultipleStringLiteralsExtended The String "failed to handle exception response [{}]" appears 2 times in the file. 190
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 198
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 224
 Warning extension MultipleStringLiteralsExtended The String "Failed to send error message back to client for action [" appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "Actual Exception" appears 2 times in the file. 229
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 255
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 291

elasticsearch/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 5 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "true" appears 5 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "receive_predictor_size" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "port" appears 7 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "transport.tcp.port" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "publish_port" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "publish_host" appears 5 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "transport.publish_host" appears 2 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "transport.host" appears 3 times in the file. 274
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 287
 Warning extension MultipleStringLiteralsExtended The String "tcp_no_delay" appears 4 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "tcp_keep_alive" appears 4 times in the file. 312
 Warning extension MultipleStringLiteralsExtended The String "tcp_send_buffer_size" appears 4 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "tcp_receive_buffer_size" appears 4 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "receiveBufferSizePredictorFactory" appears 2 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "reuse_address" appears 4 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "reuseAddress" appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "bind_host" appears 4 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "]" appears 9 times in the file. 385
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 397
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 492
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 511
 Warning extension ReturnCountExtended Return count for 'addressesFromString' method is 3 (max allowed is 1). 547
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 549
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 573
 Warning extension MultipleStringLiteralsExtended The String "can't add nodes to a stopped transport" appears 2 times in the file. 709
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 746
 Warning extension MultipleStringLiteralsExtended The String "connect_timeout[" appears 6 times in the file. 762
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 856
 Warning extension ReturnCountExtended Return count for 'disconnectFromNode' method is 2 (max allowed is 1). 887
 Warning extension MultipleStringLiteralsExtended The String "size" appears 2 times in the file. 966
 Warning extension MultipleStringLiteralsExtended The String "dispatcher" appears 2 times in the file. 968
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1100

elasticsearch/src/main/java/org/elasticsearch/transport/netty/SizeHeaderFrameDecoder.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'decode' method is 2 (max allowed is 1). 39
 Warning extension MultipleStringLiteralsExtended The String "," appears 3 times in the file. 48

elasticsearch/src/main/java/org/elasticsearch/tribe/TribeService.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'processSettings' method is 3 (max allowed is 1). 79
 Warning extension MultipleStringLiteralsExtended The String "tribe" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "cluster.name" appears 2 times in the file. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 110
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 111
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 112
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 113
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 115
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 115
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 116
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 117
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 119
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 121
 Warning extension MultipleStringLiteralsExtended The String "http.enabled" appears 2 times in the file. 133
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 172
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 177
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 194
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 205

elasticsearch/src/main/java/org/elasticsearch/watcher/FileWatcher.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 65
 Warning extension MoveVariableInsideIf Variable 'prevIsDirectory' can be moved inside the block at line '103' to restrict runtime creation. 81
 Warning extension MoveVariableInsideIf Variable 'prevLength' can be moved inside the block at line '103' to restrict runtime creation. 82
 Warning extension MoveVariableInsideIf Variable 'prevLastModified' can be moved inside the block at line '103' to restrict runtime creation. 83
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 252
 Warning extension MultipleStringLiteralsExtended The String "cannot notify file changes listener" appears 5 times in the file. 253
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 262
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 272
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 287
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 302

elasticsearch/src/main/java/org/elasticsearch/watcher/ResourceWatcherService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Unknown frequency [" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 137

elasticsearch/src/main/java/org/joda/time/base/BaseDateTime.java

Severity Category Rule Message Line
 Warning extension AvoidDefaultSerializableInInnerClasses Inner class should not implement default Serializable interface. 46
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'BaseDateTime' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 134
 Warning extension OverridableMethodInConstructor Overridable method 'checkChronology' is called in constructor body. 135
 Warning extension OverridableMethodInConstructor Overridable method 'checkInstant' is called in constructor body. 136
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'BaseDateTime' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 161
 Warning extension OverridableMethodInConstructor Overridable method 'checkChronology' is called in constructor body. 163
 Warning extension OverridableMethodInConstructor Overridable method 'checkInstant' is called in constructor body. 165
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'BaseDateTime' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 183
 Warning extension OverridableMethodInConstructor Overridable method 'checkChronology' is called in constructor body. 185
 Warning extension OverridableMethodInConstructor Overridable method 'checkInstant' is called in constructor body. 186
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'BaseDateTime' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 268
 Warning extension OverridableMethodInConstructor Overridable method 'checkChronology' is called in constructor body. 269
 Warning extension OverridableMethodInConstructor Overridable method 'checkInstant' is called in constructor body. 272
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 312
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 321

elasticsearch/src/test/java/org/apache/lucene/analysis/miscellaneous/UniqueTokenFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 51

elasticsearch/src/test/java/org/apache/lucene/queries/BlendedTermQueryTest.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension MultipleStringLiteralsExtended The String "simon" appears 6 times in the file. 54
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 56
 Warning extension MultipleStringLiteralsExtended The String "id" appears 8 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "firstname" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "surname" appears 4 times in the file. 63
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 80
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 106
 Warning extension MultipleStringLiteralsExtended The String "foo fighters" appears 2 times in the file. 107
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 108
 Warning extension MultipleStringLiteralsExtended The String "generator" appears 4 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "username" appears 6 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "song" appears 6 times in the file. 125
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 140
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "fighers" appears 2 times in the file. 156

elasticsearch/src/test/java/org/apache/lucene/search/postingshighlight/CustomPassageFormatterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "<em>" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "</em>" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "highlighter" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "Postings <em>highlighter</em> gives nice snippets back." appears 2 times in the file. 70

elasticsearch/src/test/java/org/apache/lucene/search/postingshighlight/CustomPostingsHighlighterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "body" appears 37 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "highlighting" appears 5 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "<b>" appears 8 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "</b>" appears 8 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "This is the second value to perform <b>highlighting</b> on." appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "This is the third value to test <b>highlighting</b> with postings." appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "This is a test. Just a test1 highlighting from postings highlighter." appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "This is the second highlighting value to perform highlighting on a longer text that gets scored lower." appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "This is highlighting the third short highlighting value." appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "Just a test4 highlighting from postings highlighter." appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "Just a test1 <b>highlighting</b> from postings highlighter." appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "This is the second <b>highlighting</b> value to perform <b>highlighting</b> on a longer text that gets scored lower." appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "This is <b>highlighting</b> the third short <b>highlighting</b> value." appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "Just a test4 <b>highlighting</b> from postings highlighter." appears 2 times in the file. 174
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 332
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 332
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 332
 Warning extension MultipleStringLiteralsExtended The String "none" appears 4 times in the file. 367
 Warning extension MultipleStringLiteralsExtended The String "This is a test. Just a test highlighting from postings. Feel free to ignore." appears 2 times in the file. 372

elasticsearch/src/test/java/org/apache/lucene/search/postingshighlight/XPostingsHighlighterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "body" appears 146 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "This is a test. Just a test highlighting from postings highlighter." appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "This is the third value to test highlighting with postings." appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "highlighting" appears 17 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "This is a test. Just a test <b>highlighting</b> from postings highlighter." appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "This is the third value to test <b>highlighting</b> with postings." appears 2 times in the file. 102
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 115
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 115
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 216
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 216
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 294
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 294
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 377
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 377
 Warning extension MultipleStringLiteralsExtended The String "This test is another test. Not a good sentence. Test test test test." appears 3 times in the file. 436
 Warning extension MultipleStringLiteralsExtended The String "test" appears 14 times in the file. 444
 Warning extension MultipleStringLiteralsExtended The String "<b>" appears 2 times in the file. 453
 Warning extension MultipleStringLiteralsExtended The String "</b>" appears 2 times in the file. 453
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 468
 Warning extension MultipleStringLiteralsExtended The String "none" appears 2 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "This is a test. Just a test highlighting from postings. Feel free to ignore." appears 10 times in the file. 505
 Warning extension MultipleStringLiteralsExtended The String "Highlighting the first term. Hope it works." appears 5 times in the file. 508
 Warning extension MultipleStringLiteralsExtended The String "Just a test <b>highlighting</b> from postings. " appears 4 times in the file. 633
 Warning extension MultipleStringLiteralsExtended The String "<b>Highlighting</b> the first term. " appears 3 times in the file. 634
 Warning extension MultipleStringLiteralsExtended The String "123 5678 01234 TE" appears 2 times in the file. 657
 Warning extension MultipleStringLiteralsExtended The String "This is a multivalued field" appears 2 times in the file. 794
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 805
 Warning extension MultipleStringLiteralsExtended The String "title" appears 12 times in the file. 827
 Warning extension MultipleStringLiteralsExtended The String "This is a <b>test</b>. Just a <b>test</b> highlighting from postings. " appears 2 times in the file. 925
 Warning extension MultipleStringLiteralsExtended The String "did not hit expected exception" appears 2 times in the file. 964
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1011
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1042
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1074
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1075
 Warning extension MultipleStringLiteralsExtended The String "This is a test. Just highlighting from postings. This is also a much sillier test. Feel free to test test test test test test test." appears 3 times in the file. 1093
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1136
 Warning extension MultipleStringLiteralsExtended The String "This is a <b>test</b>. Just highlighting from postings. This is also a much sillier <b>test</b>. Feel free to <b>test</b> <b>test</b> <b>test</b> <b>test</b> <b>test</b> <b>test</b> <b>test</b>." appears 2 times in the file. 1172
 Warning extension MultipleStringLiteralsExtended The String "test this is. another sentence this test has. far away is that planet." appears 5 times in the file. 1278
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 3 times in the file. 1393
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 1414
 Warning extension MultipleStringLiteralsExtended The String "id" appears 10 times in the file. 1415
 Warning extension MultipleStringLiteralsExtended The String "something" appears 2 times in the file. 1419
 Warning extension MultipleStringLiteralsExtended The String " some more terms" appears 2 times in the file. 1492
 Warning extension MultipleStringLiteralsExtended The String "blah blah" appears 2 times in the file. 1674
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1685
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1688

elasticsearch/src/test/java/org/apache/lucene/util/AbstractRandomizedTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 234
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 285
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 290
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 294
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 304
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 344
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 349
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 354
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 356
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 363
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 379

elasticsearch/src/test/java/org/apache/lucene/util/SloppyMathTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "distance between(" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String ", " appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String ") and (" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "))" appears 2 times in the file. 72

elasticsearch/src/test/java/org/elasticsearch/ElasticsearchExceptionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 35

elasticsearch/src/test/java/org/elasticsearch/NamingConventionTests.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 134
 Warning extension MultipleStringLiteralsExtended The String "] " appears 2 times in the file. 144
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 165

elasticsearch/src/test/java/org/elasticsearch/VersionTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 94
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 99
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 104
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 109
 Warning extension MultipleStringLiteralsExtended The String " should be static" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String " should be final" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "Version " appears 2 times in the file. 168

elasticsearch/src/test/java/org/elasticsearch/action/IndicesRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "-alias" appears 3 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "[s]" appears 21 times in the file. 180
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 192
 Warning extension MultipleStringLiteralsExtended The String "[r]" appears 5 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "type" appears 32 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "id" appears 13 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "field" appears 16 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "value" appears 14 times in the file. 195
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 204
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 217
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 3 times in the file. 222
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 233
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 248
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 263
 Warning extension MultipleStringLiteralsExtended The String "[s][r]" appears 2 times in the file. 263
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 275
 Warning extension MultipleStringLiteralsExtended The String "[shard][s]" appears 3 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "test-get" appears 7 times in the file. 528
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 528
 Warning extension MultipleStringLiteralsExtended The String "\"field\":\"value\"" appears 2 times in the file. 534
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 619
 Warning extension MultipleStringLiteralsExtended The String "id-" appears 6 times in the file. 668
 Warning extension MultipleStringLiteralsExtended The String "alias-get" appears 2 times in the file. 782
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 792
 Warning extension MultipleStringLiteralsExtended The String "no internal requests intercepted for action [" appears 3 times in the file. 811
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 811

elasticsearch/src/test/java/org/elasticsearch/action/OriginalIndicesTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 36

elasticsearch/src/test/java/org/elasticsearch/action/RejectionActionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "got unexpected reason..." appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "rejected" appears 2 times in the file. 96

elasticsearch/src/test/java/org/elasticsearch/action/admin/HotThreadsTest.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 51
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 5 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176

elasticsearch/src/test/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 5 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "number_of_shards" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "number_of_replicas" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "f" appears 4 times in the file. 105
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 140
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 148

elasticsearch/src/test/java/org/elasticsearch/action/admin/indices/create/CreateIndexTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 6 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "did not hit expected exception" appears 3 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "message contains error about shard count: " appears 4 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "index must have 1 or more primary shards" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "index must have 0 or more replica shards" appears 2 times in the file. 126

elasticsearch/src/test/java/org/elasticsearch/action/admin/indices/get/GetIndexTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_alias" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "_aliases" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "_mapping" appears 5 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "_mappings" appears 5 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "_settings" appears 5 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "_warmer" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "_warmers" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 56 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "alias_idx" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "warmer1" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "empty_idx" appears 14 times in the file. 56
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 164
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 169
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 177
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 225
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 308
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 343
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 384
 Warning extension MultipleStringLiteralsExtended The String "non_existent_idx" appears 8 times in the file. 386
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 389
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 394
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 399
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 404
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 417
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 420
 Warning extension MultipleStringLiteralsExtended The String "_default_" appears 2 times in the file. 473

elasticsearch/src/test/java/org/elasticsearch/action/admin/indices/mapping/put/PutMappingRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type validation should fail" appears 2 times in the file. 30
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 31
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36
 Warning extension MultipleStringLiteralsExtended The String "source validation should fail" appears 2 times in the file. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46

elasticsearch/src/test/java/org/elasticsearch/action/admin/indices/segments/IndicesSegmentsRequestTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 38
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 40
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 59

elasticsearch/src/test/java/org/elasticsearch/action/bulk/BulkIntegrationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension MultipleStringLiteralsExtended The String "logstash-2014.03.30" appears 2 times in the file. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43

elasticsearch/src/test/java/org/elasticsearch/action/bulk/BulkProcessorClusterSettingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "willwork" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "Operation on existing index should succeed" appears 2 times in the file. 49

elasticsearch/src/test/java/org/elasticsearch/action/bulk/BulkProcessorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "test" appears 18 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "test-ro" appears 4 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 256

elasticsearch/src/test/java/org/elasticsearch/action/bulk/BulkRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/action/bulk/simple-bulk.json" appears 2 times in the file. 45
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 89
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 99
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 111

elasticsearch/src/test/java/org/elasticsearch/action/index/IndexRequestTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 43

elasticsearch/src/test/java/org/elasticsearch/action/percolate/MultiPercolatorRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "my-index1" appears 5 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "my-type1" appears 12 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "my-routing-1" appears 10 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "_local" appears 9 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 7 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 7 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "my-index6" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "my-index7" appears 2 times in the file. 95

elasticsearch/src/test/java/org/elasticsearch/action/search/MultiSearchRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 78

elasticsearch/src/test/java/org/elasticsearch/action/support/TransportActionFilterChainTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 97
 Warning extension MultipleStringLiteralsExtended The String "shouldn't get here if an error is expected" appears 2 times in the file. 99
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 100
 Warning extension MultipleStringLiteralsExtended The String "shouldn't get here if an error is not expected " appears 2 times in the file. 101
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 179
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 182
 Warning extension MultipleStringLiteralsExtended The String "timeout waiting for the filter to notify the listener as many times as expected" appears 2 times in the file. 260

elasticsearch/src/test/java/org/elasticsearch/action/termvector/AbstractTermVectorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "offsets," appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 144
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 211
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 258
 Warning extension MultipleStringLiteralsExtended The String "doesnt_exist" appears 2 times in the file. 263
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 263
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 263
 Warning extension MultipleStringLiteralsExtended The String "doesn't_exist" appears 2 times in the file. 263
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 264
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 272
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 306
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 353
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 354
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355
 Warning extension MoveVariableInsideIf Variable 'lucenePos' can be moved inside the block at line '372' to restrict runtime creation. 370
 Warning extension MultipleStringLiteralsExtended The String "Offset test failed" appears 2 times in the file. 378
 Warning extension MultipleStringLiteralsExtended The String "Missing offset test failed" appears 2 times in the file. 381

elasticsearch/src/test/java/org/elasticsearch/action/termvector/GetTermVectorCheckDocFreqTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 6 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "field" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "the" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "doc id: " appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String " doesn't exists but should" appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "expected " appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "expected ttf of " appears 5 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "term: " appears 12 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "word" appears 3 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "\"took\":\\d+," appears 3 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "{\"_index\":\"test\",\"_type\":\"type1\",\"_id\":\"" appears 3 times in the file. 150

elasticsearch/src/test/java/org/elasticsearch/action/termvector/GetTermVectorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 55 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 9 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "field" appears 24 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "type" appears 9 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "string" appears 9 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "term_vector" appears 9 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "with_positions_offsets_payloads" appears 6 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test" appears 43 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 9 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "existingfield" appears 7 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "0" appears 9 times in the file. 93
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 96
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 125
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 17 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String " :" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 4 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "tv_test" appears 3 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.tv_test.tokenizer" appears 3 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 4 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.tv_test.filter" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "type_as_payload" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "the quick brown fox jumps over the lazy dog" appears 6 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "doc id: " appears 3 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String " doesn't exists but should" appears 3 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "brown" appears 3 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "dog" appears 2 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "fox" appears 3 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "jumps" appears 2 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "lazy" appears 2 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "over" appears 2 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "quick" appears 3 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "the" appears 3 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "expected " appears 2 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "positions for term: " appears 2 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "payloads for term: " appears 2 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "word" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "startOffsets term: " appears 2 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "endOffsets term: " appears 2 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 371
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 5 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "no" appears 6 times in the file. 372
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 388
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 398
 Warning extension MultipleStringLiteralsExtended The String "\nterm: " appears 2 times in the file. 458
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 491
 Warning extension MultipleStringLiteralsExtended The String "unsupported encoding type" appears 2 times in the file. 514
 Warning extension MultipleStringLiteralsExtended The String "term: " appears 11 times in the file. 655
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer" appears 5 times in the file. 672
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 5 times in the file. 672
 Warning extension MultipleStringLiteralsExtended The String "type=string,term_vector=with_positions_offsets" appears 2 times in the file. 675
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 682
 Warning extension MultipleStringLiteralsExtended The String "Generating a random permutation of a sequence (such as when shuffling cards)." appears 2 times in the file. 683
 Warning extension MultipleStringLiteralsExtended The String "Selecting a random sample of a population (important in statistical sampling)." appears 3 times in the file. 684
 Warning extension MultipleStringLiteralsExtended The String "Allocating experimental units via random assignment to a treatment or control condition." appears 3 times in the file. 685
 Warning extension MultipleStringLiteralsExtended The String "Generating random numbers: see Random number generation." appears 2 times in the file. 686
 Warning extension MultipleStringLiteralsExtended The String "some text here" appears 3 times in the file. 772
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 801
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 856
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 893
 Warning extension MultipleStringLiteralsExtended The String "non_existing" appears 6 times in the file. 902
 Warning extension MultipleStringLiteralsExtended The String "keyword" appears 2 times in the file. 966

elasticsearch/src/test/java/org/elasticsearch/action/termvector/MultiTermVectorsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 33
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 49
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 59

elasticsearch/src/test/java/org/elasticsearch/action/termvector/TermVectorUnitTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "b" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "c" appears 6 times in the file. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension MultipleStringLiteralsExtended The String "id" appears 7 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 6 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "title" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "the1 quick brown fox jumps over the1 lazy dog" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "b,c ,d, e " appears 2 times in the file. 187
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 215
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 218
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 273
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 310

elasticsearch/src/test/java/org/elasticsearch/action/update/UpdateRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "type" appears 7 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "script" appears 6 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "script1" appears 12 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "params" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 10 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 18 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "upsert" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 8 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "compound" appears 8 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 8 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 8 times in the file. 64

elasticsearch/src/test/java/org/elasticsearch/aliases/IndexAliasesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> creating index [test]" appears 11 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "test" appears 75 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 34 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 43 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "1" appears 28 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "test_x" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "put alias should have been failed due to invalid filter" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "failed to parse filter for alias [alias1]" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "{ \"test\": {} }" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "type" appears 12 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "user" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 14 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "name" appears 45 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "alias2" appears 9 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "foos" appears 23 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 22 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "bars" appears 10 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 14 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "tests" appears 12 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "foo test" appears 5 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "2" appears 16 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "bar test" appears 5 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "3" appears 15 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "baz test" appears 5 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "4" appears 15 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "something else" appears 5 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "fo*" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 3 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 41 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 36 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "--> adding filtering aliases to index [test1]" appears 3 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "aliasToTest1" appears 6 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "aliasToTests" appears 13 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "--> adding filtering aliases to index [test2]" appears 3 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "aliasToTest2" appears 4 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "--> indexing against [test1]" appears 3 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "--> indexing against [test2]" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "5" appears 7 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "6" appears 5 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "7" appears 5 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "8" appears 6 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "--> checking filtering alias for two indices and non-filtering alias for both indices" appears 2 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "something" appears 2 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 8 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "alias12" appears 2 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "filter1" appears 10 times in the file. 311
 Warning extension MultipleStringLiteralsExtended The String "filter23" appears 12 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "filter13" appears 12 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "11" appears 6 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "12" appears 6 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "13" appears 8 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "21" appears 7 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "22" appears 4 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "23" appears 4 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "31" appears 7 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "32" appears 2 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "33" appears 7 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "--> verify that proper records were deleted" appears 2 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 5 times in the file. 458
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 512
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 517
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 522
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 527
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 532
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 541
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 547
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 553
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 51 times in the file. 560
 Warning extension MultipleStringLiteralsExtended The String "test123" appears 3 times in the file. 562
 Warning extension MultipleStringLiteralsExtended The String "foobarbaz" appears 3 times in the file. 563
 Warning extension MultipleStringLiteralsExtended The String "bazbar" appears 47 times in the file. 564
 Warning extension MultipleStringLiteralsExtended The String "field" appears 13 times in the file. 567
 Warning extension MultipleStringLiteralsExtended The String "alias*" appears 2 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "bac" appears 8 times in the file. 614
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 614
 Warning extension MultipleStringLiteralsExtended The String "bla" appears 3 times in the file. 618
 Warning extension MultipleStringLiteralsExtended The String "term" appears 4 times in the file. 627
 Warning extension MultipleStringLiteralsExtended The String "*b*" appears 2 times in the file. 642
 Warning extension MultipleStringLiteralsExtended The String "baz*" appears 2 times in the file. 642
 Warning extension MultipleStringLiteralsExtended The String "b*" appears 2 times in the file. 663
 Warning extension MultipleStringLiteralsExtended The String "*bar" appears 4 times in the file. 663
 Warning extension MultipleStringLiteralsExtended The String "f*" appears 2 times in the file. 689
 Warning extension MultipleStringLiteralsExtended The String "*bac" appears 4 times in the file. 703
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 731
 Warning extension MultipleStringLiteralsExtended The String "create alias should have failed due to null index" appears 2 times in the file. 753
 Warning extension MultipleStringLiteralsExtended The String "Exception text does not contain \"Alias action [add]: [index] may not be empty string\"" appears 2 times in the file. 755
 Warning extension MultipleStringLiteralsExtended The String "Alias action [add]: [index] may not be empty string" appears 2 times in the file. 756
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 777
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 782
 Warning extension MultipleStringLiteralsExtended The String "index1" appears 8 times in the file. 784
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 787
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 794
 Warning extension MultipleStringLiteralsExtended The String "Should throw " appears 4 times in the file. 796
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 805
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 814
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 819
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 824
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 829
 Warning extension MultipleStringLiteralsExtended The String "index2" appears 2 times in the file. 859
 Warning extension MultipleStringLiteralsExtended The String "alias3" appears 3 times in the file. 876
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 876
 Warning extension MultipleStringLiteralsExtended The String "search" appears 2 times in the file. 876
 Warning extension MultipleStringLiteralsExtended The String "{\n" appears 2 times in the file. 883
 Warning extension MultipleStringLiteralsExtended The String " \"alias1\" : {},\n" appears 2 times in the file. 885
 Warning extension MultipleStringLiteralsExtended The String " \"alias3\" : { \"index_routing\" : \"index\", \"search_routing\" : \"search\"}\n" appears 2 times in the file. 887
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 889
 Warning extension MultipleStringLiteralsExtended The String "create index should have failed due to invalid alias filter" appears 2 times in the file. 914
 Warning extension MultipleStringLiteralsExtended The String "failed to parse filter for alias [alias2]" appears 2 times in the file. 916
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 936
 Warning extension MultipleStringLiteralsExtended The String "my-index" appears 7 times in the file. 959
 Warning extension MultipleStringLiteralsExtended The String "my-type" appears 2 times in the file. 959
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 3 times in the file. 959
 Warning extension MultipleStringLiteralsExtended The String "now-1d" appears 2 times in the file. 960
 Warning extension MultipleStringLiteralsExtended The String "now" appears 2 times in the file. 960
 Warning extension MultipleStringLiteralsExtended The String "filter2" appears 3 times in the file. 961
 Warning extension MultipleStringLiteralsExtended The String "child" appears 3 times in the file. 981

elasticsearch/src/test/java/org/elasticsearch/benchmark/aliases/AliasesBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node.master" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "Number of aliases: " appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String " aliases" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 85
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 114

elasticsearch/src/test/java/org/elasticsearch/benchmark/cluster/ClusterAllocationRerouteBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test_" appears 2 times in the file. 57

elasticsearch/src/test/java/org/elasticsearch/benchmark/common/lucene/uidscan/LuceneUidScanBenchmark.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 49
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 2 times in the file. 56
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 79

elasticsearch/src/test/java/org/elasticsearch/benchmark/common/recycler/RecyclerBenchmark.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 37

elasticsearch/src/test/java/org/elasticsearch/benchmark/counter/SimpleCounterBenchmark.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 32
 Warning extension MultipleStringLiteralsExtended The String "Took " appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String " TP Millis " appears 2 times in the file. 42

elasticsearch/src/test/java/org/elasticsearch/benchmark/fs/FsAppendBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "work/test.log" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "flush" appears 2 times in the file. 55
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 71

elasticsearch/src/test/java/org/elasticsearch/benchmark/get/SimpleGetActionBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 43

elasticsearch/src/test/java/org/elasticsearch/benchmark/hppc/StringMapAdjustOrPutBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 8 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 8 times in the file. 68

elasticsearch/src/test/java/org/elasticsearch/benchmark/mapping/ManyMappingsBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " {\n" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String " \"mapping\": {\n" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String " \"store\": false,\n" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String " },\n" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String " },\n" appears 2 times in the file. 55
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 84

elasticsearch/src/test/java/org/elasticsearch/benchmark/percolator/PercolatorStressBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "numeric1" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 139

elasticsearch/src/test/java/org/elasticsearch/benchmark/recovery/ReplicaRecoveryBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "local" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "--> indexed {} of {}" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String ": 1" appears 2 times in the file. 106

elasticsearch/src/test/java/org/elasticsearch/benchmark/scripts/expression/ScriptComparisonBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "doc['x'].value" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "doc['x'].value + doc['y'].value" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "1.2 * doc['x'].value / doc['y'].value" appears 2 times in the file. 65
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 77
 Warning extension MultipleStringLiteralsExtended The String "10s" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 119

elasticsearch/src/test/java/org/elasticsearch/benchmark/scripts/score/BasicScriptBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 8 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String " = " appears 5 times in the file. 103
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 128
 Warning extension MultipleStringLiteralsExtended The String ", " appears 4 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 213
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 214
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "text" appears 6 times in the file. 220
 Warning extension LogicConditionNeedOptimization Condition with || at line 255 position 39 need optimization. All method calls are advised to move to end of logic expression. 255
 Warning extension MultipleStringLiteralsExtended The String " terms:" appears 2 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "native" appears 2 times in the file. 290

elasticsearch/src/test/java/org/elasticsearch/benchmark/scripts/score/ScriptsConstantScoreBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "10s" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "black" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "-." appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "red" appears 2 times in the file. 72

elasticsearch/src/test/java/org/elasticsearch/benchmark/scripts/score/ScriptsScoreBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "10s" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "black" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "--" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "green" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "red" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "score = 0.0; fi= _terminfo[\"text\"]; for(i=0; i<text.size(); i++){terminfo = fi[text.get(i)]; score = score + terminfo.tf()*fi.getDocCount()/terminfo.df();} return score;" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "-." appears 3 times in the file. 98

elasticsearch/src/test/java/org/elasticsearch/benchmark/scripts/score/ScriptsScorePayloadSumBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "10s" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Results for native script score:" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 61

elasticsearch/src/test/java/org/elasticsearch/benchmark/scripts/score/script/NativeNaiveTFIDFScoreScript.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 68

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/SuggestSearchBenchMark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "field" appears 9 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "--> Timed out waiting for cluster health" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "10m" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Count: " appears 2 times in the file. 103
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 104
 Warning extension MultipleStringLiteralsExtended The String "always" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "No suggestions" appears 2 times in the file. 142

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/aggregations/CardinalityAggregationSearchBenchmark.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 50
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 52
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "type" appears 11 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "low_card_str_value" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "multi_field" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "hash" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "murmur3" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "high_card_str_value" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "low_card_num_value" appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "high_card_num_value" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "str" appears 2 times in the file. 119
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 134
 Warning extension MoveVariableInsideIf Variable 'start' can be moved inside the block at line '155' to restrict runtime creation. 148
 Warning extension MultipleStringLiteralsExtended The String "cardinality" appears 2 times in the file. 151
 Warning extension MoveVariableInsideIf Variable 'end' can be moved inside the block at line '155' to restrict runtime creation. 153
 Warning extension MoveVariableInsideIf Variable 'cardinality' can be moved inside the block at line '155' to restrict runtime creation. 154

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/aggregations/GlobalOrdinalsBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "local" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "field_" appears 4 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String ".doc_values" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "_doc_values" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "------------------ SUMMARY -----------------------------------------" appears 2 times in the file. 194
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 197
 Warning extension MultipleStringLiteralsExtended The String "--> Warmup (" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String ")..." appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "--> mismatch on hits" appears 2 times in the file. 223

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/aggregations/HistogramAggregationSearchBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "l_value" appears 9 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "i_value" appears 7 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "s_value" appears 7 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "b_value" appears 7 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "date" appears 17 times in the file. 123
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'COUNT'. 138
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 139
 Warning extension MultipleStringLiteralsExtended The String "--> mismatch on hits" appears 11 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "--> Histogram Facet (" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String ") " appears 4 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 10 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "--> Histogram Aggregation (" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "day" appears 2 times in the file. 287

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/aggregations/PercentilesAggregationSearchBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 111
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 125
 Warning extension MultipleStringLiteralsExtended The String "values" appears 3 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "v" appears 4 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "percentiles" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "#### " appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "pcts" appears 4 times in the file. 180

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/aggregations/QueryFilterAggregationSearchBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "l_value" appears 11 times in the file. 95
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'COUNT'. 111
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 112
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 5 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "query" appears 3 times in the file. 144

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/aggregations/SubAggregationSearchCollectModeBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "s_value_dv" appears 6 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "no" appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 4 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "format" appears 4 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 4 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "sm_value_dv" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "l_value_dv" appears 6 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "lm_value_dv" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "s_value" appears 5 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "l_value" appears 5 times in the file. 167
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'COUNT'. 201
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 202
 Warning extension MultipleStringLiteralsExtended The String "------------------ SUMMARY ----------------------------------------------" appears 2 times in the file. 231
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 234
 Warning extension MultipleStringLiteralsExtended The String "--> Warmup (" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String ")..." appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "--> mismatch on hits" appears 2 times in the file. 280

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/aggregations/TermsAggregationSearchAndIndexingBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 5 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "eager" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "lazy" appears 7 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "s_value" appears 4 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "s_value_dv" appears 4 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "ordinals" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "eager_global_ordinals" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String " ms" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "----------------------------------------- SUMMARY ----------------------------------------------" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "%30s%18s%15s%15s\n" appears 2 times in the file. 193
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 237
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 317
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "loading" appears 2 times in the file. 340

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/aggregations/TermsAggregationSearchBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "s_value_dv" appears 20 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "no" appears 4 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 4 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "format" appears 4 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 4 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "sm_value_dv" appears 14 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "l_value_dv" appears 17 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "lm_value_dv" appears 11 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "s_value" appears 19 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "l_value" appears 16 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "sm_value" appears 13 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "lm_value" appears 10 times in the file. 216
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'COUNT'. 238
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 239
 Warning extension MultipleStringLiteralsExtended The String "map" appears 12 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_facet_s_l" appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_facet_s_l_dv" appears 2 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_s_l" appears 2 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_s_l_dv" appears 2 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_def_s_l" appears 2 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_def_s_l_dv" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_facet_s_lm" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_facet_s_lm_dv" appears 2 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_s_lm" appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_s_lm_dv" appears 2 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_def_s_lm" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_def_s_lm_dv" appears 2 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_facet_sm_l" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_facet_sm_l_dv" appears 2 times in the file. 302
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_sm_l" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_sm_l_dv" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_def_sm_l" appears 2 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "terms_stats_agg_def_sm_l_dv" appears 2 times in the file. 306
 Warning extension MultipleStringLiteralsExtended The String "------------------ SUMMARY ----------------------------------------------" appears 2 times in the file. 327
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 330
 Warning extension MultipleStringLiteralsExtended The String "--> Warmup (" appears 4 times in the file. 359
 Warning extension MultipleStringLiteralsExtended The String ")..." appears 4 times in the file. 359
 Warning extension MultipleStringLiteralsExtended The String "--> Loading (" appears 2 times in the file. 367
 Warning extension MultipleStringLiteralsExtended The String "): took: " appears 2 times in the file. 367
 Warning extension MultipleStringLiteralsExtended The String "--> mismatch on hits" appears 4 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String ") DONE" appears 2 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "--> Running (" appears 2 times in the file. 376
 Warning extension MultipleStringLiteralsExtended The String "): " appears 2 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 2 times in the file. 388

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/aggregations/TimeDataHistogramAggregationBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 96
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 104
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 105
 Warning extension MultipleStringLiteralsExtended The String "l_value" appears 6 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 129
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'COUNT'. 141
 Warning extension MultipleStringLiteralsExtended The String " hours" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "hist_l" appears 3 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "------------------ SUMMARY -------------------------------" appears 2 times in the file. 171
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 180
 Warning extension MultipleStringLiteralsExtended The String ")..." appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "--> Warmup (" appears 2 times in the file. 245
 Warning extension MoveVariableInsideIf Variable 'searchResponse' can be moved inside the block at line '251' to restrict runtime creation. 250

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/child/ChildSearchAndIndexingBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "child" appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 5 times in the file. 97
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 110
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 134
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 169
 Warning extension MultipleStringLiteralsExtended The String "Search Failures " appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 2 times in the file. 213
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 241

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/child/ChildSearchBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "10m" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "child" appears 17 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 5 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 8 times in the file. 95
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 108
 Warning extension MultipleStringLiteralsExtended The String "child.tag" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "tag1" appears 8 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "--> mismatch on hits" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 13 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "--> Used heap size: " appears 3 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "Search Failures " appears 6 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "--> mismatch on hits [" appears 6 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "], got [" appears 6 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "], expected [" appears 6 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "mismatch on hits" appears 5 times in the file. 212
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 220
 Warning extension MultipleStringLiteralsExtended The String "num" appears 4 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "mismatch on hits: " appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String " != " appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 237
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 281
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 282
 Warning extension MultipleStringLiteralsExtended The String "--> Id cache size: " appears 2 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "max" appears 5 times in the file. 338
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 378
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 387

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/child/ChildSearchShortCircuitBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "child" appears 6 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 76
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 116
 Warning extension MultipleStringLiteralsExtended The String "--> mismatch on hits" appears 3 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "--> Used heap size: " appears 3 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 4 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String " Avg: " appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "--> Id cache size: " appears 2 times in the file. 173

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/geo/GeoDistanceSearchBenchmark.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'NUM_DOCS' can be moved inside the block at line '59' to restrict runtime creation. 53
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 7 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "location" appears 7 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 5 times in the file. 72
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 72
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 5 times in the file. 72
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 72
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 78
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 90
 Warning extension MultipleStringLiteralsExtended The String "memory" appears 6 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 10 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "indexed" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "none" appears 2 times in the file. 144
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 199
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 199

elasticsearch/src/test/java/org/elasticsearch/benchmark/search/nested/NestedSearchBenchMark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> Timed out waiting for cluster health" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "type" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 4 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 2 times in the file. 86
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 133
 Warning extension MultipleStringLiteralsExtended The String "--> Committed heap size: " appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "--> Used heap size: " appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "field2.field3" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "--> mismatch on hits" appears 2 times in the file. 164

elasticsearch/src/test/java/org/elasticsearch/benchmark/stress/NodesStressTest.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 75
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "num" appears 2 times in the file. 209
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 217
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 257
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 266
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 267
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 270

elasticsearch/src/test/java/org/elasticsearch/benchmark/stress/SingleThreadBulkStress.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 81

elasticsearch/src/test/java/org/elasticsearch/benchmark/stress/SingleThreadIndexingStress.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 63

elasticsearch/src/test/java/org/elasticsearch/benchmark/time/SimpleTimeBenchmark.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 31
 Warning extension MultipleStringLiteralsExtended The String "Took " appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String " TP Millis " appears 2 times in the file. 40

elasticsearch/src/test/java/org/elasticsearch/benchmark/transport/BenchmarkNettyLargeMessages.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "benchmark" appears 3 times in the file. 76

elasticsearch/src/test/java/org/elasticsearch/benchmark/transport/TransportBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "server" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "benchmark" appears 4 times in the file. 83

elasticsearch/src/test/java/org/elasticsearch/benchmark/transport/netty/NettyEchoBenchmark.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 127

elasticsearch/src/test/java/org/elasticsearch/benchmark/uuid/SimpleUuidBenchmark.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " TP Millis " appears 2 times in the file. 41

elasticsearch/src/test/java/org/elasticsearch/blocks/SimpleBlocksTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 14 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "false" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "ro" appears 9 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "rw" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "zzz" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 122

elasticsearch/src/test/java/org/elasticsearch/broadcast/BroadcastActionsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 57

elasticsearch/src/test/java/org/elasticsearch/bwcompat/BasicAnalysisBackwardCompatibilityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field_" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String " analyzer: " appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String " input: " appears 2 times in the file. 129

elasticsearch/src/test/java/org/elasticsearch/bwcompat/BasicBackwardsCompatibilityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 103 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 28 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 22 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "Document with ID " appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String " should exist but doesn't" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "the_id" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.exclude._name" appears 5 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "num_int" appears 9 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "num_double" appears 9 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "none" appears 2 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "all" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "type" appears 14 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 390
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 396
 Warning extension MultipleStringLiteralsExtended The String "1" appears 14 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "obj1" appears 4 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "obj1_val" appears 2 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 6 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "obj2" appears 2 times in the file. 431
 Warning extension MultipleStringLiteralsExtended The String "obj2_val" appears 2 times in the file. 431
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 2 times in the file. 432
 Warning extension MultipleStringLiteralsExtended The String "x*" appears 2 times in the file. 450
 Warning extension MultipleStringLiteralsExtended The String "field" appears 16 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "routing" appears 3 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 3 times in the file. 614
 Warning extension MultipleStringLiteralsExtended The String "this is a test" appears 2 times in the file. 644
 Warning extension MultipleStringLiteralsExtended The String "1m" appears 2 times in the file. 742
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 3 times in the file. 773

elasticsearch/src/test/java/org/elasticsearch/bwcompat/ClusterStateBackwardsCompatTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 37
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 51

elasticsearch/src/test/java/org/elasticsearch/bwcompat/GetIndexBackwardsCompatibilityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 15 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "testAlias" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "warmer1" appears 2 times in the file. 96

elasticsearch/src/test/java/org/elasticsearch/bwcompat/NodesStatsBasicBackwardsCompatTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "client.transport.ignore_cluster_name" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "node.name" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "transport_client_" appears 2 times in the file. 47

elasticsearch/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "path.data" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "node.master" appears 2 times in the file. 118
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension MultipleStringLiteralsExtended The String ".zip" appears 2 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 212
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 226
 Warning extension MultipleStringLiteralsExtended The String "test.engine.lucene.iw.ifd" appears 2 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "long_sort" appears 2 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "refresh_interval" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 348

elasticsearch/src/test/java/org/elasticsearch/bwcompat/ParentChildDeleteByQueryBackwardsCompatibilityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 13 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "child" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 94

elasticsearch/src/test/java/org/elasticsearch/bwcompat/RestoreBackwardsCompatTests.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 70
 Warning extension MultipleStringLiteralsExtended The String "repo-" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String ".zip" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "url" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "alias2" appears 2 times in the file. 148

elasticsearch/src/test/java/org/elasticsearch/bwcompat/StaticIndexBackwardCompatibilityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 53

elasticsearch/src/test/java/org/elasticsearch/bwcompat/TransportClientBackwardsCompatibilityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 63

elasticsearch/src/test/java/org/elasticsearch/bwcompat/UnicastBackwardsCompatibilityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "transport.tcp.port" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "9380-9390" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "discovery.zen.ping.multicast.enabled" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "discovery.zen.ping.unicast.hosts" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "localhost:9381,localhost:9382,localhost:9383" appears 2 times in the file. 47

elasticsearch/src/test/java/org/elasticsearch/client/AbstractClientHeadersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "val 2" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 6 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "id" appears 5 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 4 times in the file. 136

elasticsearch/src/test/java/org/elasticsearch/client/transport/FailAndRetryMockTransport.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69

elasticsearch/src/test/java/org/elasticsearch/client/transport/InternalTransportClientTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 170
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 174

elasticsearch/src/test/java/org/elasticsearch/client/transport/TransportClientHeadersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "client.transport.sniff" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "node.name" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "transport_client_" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "cluster1" appears 2 times in the file. 74

elasticsearch/src/test/java/org/elasticsearch/client/transport/TransportClientTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "transport" appears 2 times in the file. 92

elasticsearch/src/test/java/org/elasticsearch/cluster/BlockClusterStatsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "foo-alias" appears 9 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "index.blocks.read_only" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "cluster.blocks.read_only" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 67

elasticsearch/src/test/java/org/elasticsearch/cluster/ClusterHealthResponsesTests.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'genShardRouting' method is 4 (max allowed is 1). 107
 Warning extension MultipleStringLiteralsExtended The String "node_" appears 4 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "bla" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 216

elasticsearch/src/test/java/org/elasticsearch/cluster/ClusterHealthTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "10s" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "1s" appears 2 times in the file. 49

elasticsearch/src/test/java/org/elasticsearch/cluster/ClusterInfoServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ClusterInfoServiceTests" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "info should not be null" appears 4 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "some usages are populated" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "some shard sizes are populated" appears 2 times in the file. 171

elasticsearch/src/test/java/org/elasticsearch/cluster/ClusterServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "discovery.type" appears 9 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "local" appears 8 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "failed to execute callback in test {}" appears 4 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 475
 Warning extension MultipleStringLiteralsExtended The String "2" appears 8 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "3" appears 4 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "4" appears 4 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "5" appears 4 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "7" appears 2 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "8" appears 2 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "9" appears 2 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "10" appears 2 times in the file. 517
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 525
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 535
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 540
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 591
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 601
 Warning extension MultipleStringLiteralsExtended The String "discovery.zen.minimum_master_nodes" appears 2 times in the file. 609
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 648
 Warning extension MultipleStringLiteralsExtended The String "test plugin" appears 2 times in the file. 770
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 802

elasticsearch/src/test/java/org/elasticsearch/cluster/DiskUsageTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 4 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "n1" appears 4 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "random" appears 2 times in the file. 64

elasticsearch/src/test/java/org/elasticsearch/cluster/MinimumMasterNodesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "discovery.type" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "zen" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "discovery.zen.minimum_master_nodes" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "discovery.zen.ping_timeout" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "200ms" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "discovery.initial_state_timeout" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "500ms" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "local" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "test" appears 11 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "--> indexing some data" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "--> verify we the data back" appears 5 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "--> starting the previous master node again..." appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "Running Cluster Health" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 209
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '&='. 305
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 333
 Warning extension MultipleStringLiteralsExtended The String "--> verifying no node left and master is up" appears 2 times in the file. 341
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 352

elasticsearch/src/test/java/org/elasticsearch/cluster/NoMasterNodeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "discovery.type" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "zen" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "action.auto_create_index" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "discovery.zen.minimum_master_nodes" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "discovery.zen.ping_timeout" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "200ms" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "discovery.initial_state_timeout" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "500ms" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "test" appears 11 times in the file. 76
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 19 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "1" appears 15 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "no_index" appears 9 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "this is a test" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "test script" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "2" appears 4 times in the file. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 172
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension MultipleStringLiteralsExtended The String "Expected ClusterBlockException" appears 3 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 8 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 4 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 228

elasticsearch/src/test/java/org/elasticsearch/cluster/SimpleClusterStateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 9 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "fuu" appears 10 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 7 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "non-existent" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "foo_template" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 4 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "type" appears 10 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "store" appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "f*" appears 3 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "fzzbzz" appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "a*" appears 2 times in the file. 192
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 197
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 204

elasticsearch/src/test/java/org/elasticsearch/cluster/SimpleDataNodesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node.data" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "no allocation should happen" appears 2 times in the file. 48

elasticsearch/src/test/java/org/elasticsearch/cluster/SpecificMasterNodesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> start data node / non master node" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "node.data" appears 10 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "node.master" appears 10 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "discovery.initial_state_timeout" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "1s" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "100ms" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "should not be able to find master" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "--> start master node" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "--> start master node / non data" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "_default_" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 4 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "enabled=true" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 124

elasticsearch/src/test/java/org/elasticsearch/cluster/UpdateSettingsValidationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node.master" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/cluster/ack/AckClusterUpdateSettingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.exclude._id" appears 5 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "0s" appears 2 times in the file. 137

elasticsearch/src/test/java/org/elasticsearch/cluster/ack/AckTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 63 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "refresh_interval" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "0s" appears 10 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "f" appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "custom_warmer" appears 8 times in the file. 99
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 9 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 4 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "type=string,index=not_analyzed" appears 2 times in the file. 402

elasticsearch/src/test/java/org/elasticsearch/cluster/allocation/AwarenessAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.awareness.attributes" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "node.rack_id" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.awareness.force.zone.values" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "a,b" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "zone" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "node.zone" appears 7 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "b" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "4" appears 4 times in the file. 133

elasticsearch/src/test/java/org/elasticsearch/cluster/allocation/ClusterRerouteTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "local" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "--> create an index with 1 shard, 1 replica, nothing should allocate" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "test" appears 12 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "--> explicitly allocate shard 1, actually allocating, no dry run" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "--> get the state, verify shard 1 primary allocated" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 190

elasticsearch/src/test/java/org/elasticsearch/cluster/allocation/FilteringAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> starting 2 nodes" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "--> creating an index with no replicas" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "--> index some data" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.exclude._name" appears 2 times in the file. 125

elasticsearch/src/test/java/org/elasticsearch/cluster/allocation/SimpleAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 49

elasticsearch/src/test/java/org/elasticsearch/cluster/metadata/MappingMetaDataParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 17 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "id" appears 42 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "routing" appears 20 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 20 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "dateOptionalTime" appears 17 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 32 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 22 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 22 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 20 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "routing_value" appears 28 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "1" appears 27 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "routing_value1" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "obj1.id" appears 6 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "obj1.routing" appears 6 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "obj2.timestamp" appears 4 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "obj0" appears 8 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "obj1" appears 9 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "obj2" appears 7 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "obj1.timestamp" appears 2 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "aaa" appears 3 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "wr" appears 6 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "arr1" appears 3 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 302
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "zzz" appears 3 times in the file. 305

elasticsearch/src/test/java/org/elasticsearch/cluster/metadata/MetaDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 47 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "foofoobar" appears 17 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 28 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "foofoo-closed" appears 8 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "foofoo" appears 17 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "barbaz" appears 11 times in the file. 48
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 26 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "baz*" appears 24 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "foofoo*" appears 4 times in the file. 113
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 132
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 197
 Warning extension MultipleStringLiteralsExtended The String "foo*" appears 7 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "-*" appears 2 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "Alias [foofoobar] has more than one indices associated with it" appears 2 times in the file. 417
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 473
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 5 times in the file. 476
 Warning extension MultipleStringLiteralsExtended The String "testXXX" appears 29 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String "testXYY" appears 15 times in the file. 484
 Warning extension MultipleStringLiteralsExtended The String "testYYY" appears 11 times in the file. 485
 Warning extension MultipleStringLiteralsExtended The String "kuku" appears 11 times in the file. 486
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 488
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 489
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 490
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 491
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 492
 Warning extension MultipleStringLiteralsExtended The String "testX*" appears 9 times in the file. 492
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 493
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 2 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "alias2" appears 3 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "alias3" appears 2 times in the file. 501
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 504
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 505
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 506
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 507
 Warning extension MultipleStringLiteralsExtended The String "+testX*" appears 2 times in the file. 507
 Warning extension MultipleStringLiteralsExtended The String "+testYYY" appears 2 times in the file. 507
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 508
 Warning extension MultipleStringLiteralsExtended The String "testXXY" appears 6 times in the file. 515
 Warning extension MultipleStringLiteralsExtended The String "testYYX" appears 2 times in the file. 518
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 522
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 523
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 524
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 531
 Warning extension MultipleStringLiteralsExtended The String "testZZZ" appears 2 times in the file. 537
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 549
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 564
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 597
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 603
 Warning extension MultipleStringLiteralsExtended The String "other" appears 2 times in the file. 603
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 609
 Warning extension MultipleStringLiteralsExtended The String "index1" appears 11 times in the file. 609
 Warning extension MultipleStringLiteralsExtended The String "index2" appears 13 times in the file. 609
 Warning extension MultipleStringLiteralsExtended The String "index3" appears 13 times in the file. 609
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 615
 Warning extension MultipleStringLiteralsExtended The String "*" appears 3 times in the file. 615
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 633
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 639
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 645
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 651
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 657
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 664
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 665
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 672
 Warning extension MultipleStringLiteralsExtended The String "index*" appears 4 times in the file. 672
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 673
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 680
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 681
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 682
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 689
 Warning extension MultipleStringLiteralsExtended The String "-index1" appears 4 times in the file. 689
 Warning extension MultipleStringLiteralsExtended The String "+index1" appears 2 times in the file. 689
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 690
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 697
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 698
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 699
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 706
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 707
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 714
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 715
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 716
 Warning extension MultipleStringLiteralsExtended The String "foo1-closed" appears 7 times in the file. 724
 Warning extension MultipleStringLiteralsExtended The String "foobar1-closed" appears 4 times in the file. 724
 Warning extension MultipleStringLiteralsExtended The String "foobar2-closed" appears 6 times in the file. 724
 Warning extension MultipleStringLiteralsExtended The String "foo2-closed" appears 2 times in the file. 725
 Warning extension MultipleStringLiteralsExtended The String "foo3" appears 3 times in the file. 726
 Warning extension MultipleStringLiteralsExtended The String "foo1-closed should be closed, but it is open" appears 2 times in the file. 732

elasticsearch/src/test/java/org/elasticsearch/cluster/metadata/ToAndFromJsonMetaDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "setting1" appears 18 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 19 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "setting2" appears 19 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 19 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "mapping1" appears 16 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "test4" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test5" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "mapping2" appears 14 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "test6" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "test7" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "test8" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 17 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "alias2" appears 17 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "test9" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "test10" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "test11" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "alias4" appears 8 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 14 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "alias-bar1" appears 4 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "alias-bar2" appears 5 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "{\"term\":{\"user\":\"kimchy\"}}" appears 3 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "alias-bar3" appears 6 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "routing-bar" appears 4 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "test12" appears 2 times in the file. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 300
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 301
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 302
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 303

elasticsearch/src/test/java/org/elasticsearch/cluster/node/DiscoveryNodeFiltersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "xxx.name" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 6 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "xxx." appears 5 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "id1" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "id2" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "xxx._id" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "name3" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "id3" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "A" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "B" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "group" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "X" appears 2 times in the file. 98

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/AddIncrementallyTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node0" appears 14 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 11 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "ClusterState: {}" appears 7 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.node_concurrent_recoveries" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "now, start one more node, check that rebalancing will happen because we set it to always" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 16 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "node" appears 2 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "restart all the primary shards, replicas will start initializing" appears 2 times in the file. 318
 Warning extension MultipleStringLiteralsExtended The String "start the replica shards" appears 3 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "complete rebalancing" appears 3 times in the file. 330

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/AllocatePostApiFlagTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 49

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/AllocationCommandsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 35 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 47 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 39 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "--> building initial routing table" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 13 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "node4" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "--> allocating with primary flag set to true" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "--> start the primary shard" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "--> allocate the replica shard on on the second node" appears 4 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "--> start the replica shard" appears 3 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "--> cancel primary allocation, make sure it fails..." appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "node5" appears 3 times in the file. 344

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/AwarenessAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.concurrent_recoveries" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "always" appears 10 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.awareness.attributes" appears 10 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "rack_id" appears 49 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "test" appears 16 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "--> adding two nodes on same rack and do rerouting" appears 10 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 11 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "1" appears 22 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 11 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "--> start the shards (primaries)" appears 10 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "--> start the shards (replicas)" appears 6 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "--> add a new node with a new rack and reroute" appears 9 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 17 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "2" appears 9 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "--> complete relocation" appears 11 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "--> do another reroute, make sure nothing moves" appears 12 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "--> add another node with a new rack, make sure nothing moves" appears 4 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "node4" appears 13 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "3" appears 9 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "node5" appears 4 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.node_concurrent_recoveries" appears 4 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.node_initial_primaries_recoveries" appears 4 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.cluster_concurrent_rebalance" appears 4 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.balance.index" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.balance.replica" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.balance.primary" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "--> complete initializing" appears 3 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "--> run it again, since we still might have relocation" appears 2 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "--> add another node with a new rack, some more relocation should happen" appears 3 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 4 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 4 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "--> complete initializing round: [{}]" appears 2 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "--> add another node with a new rack, we will have another relocation" appears 2 times in the file. 441
 Warning extension MultipleStringLiteralsExtended The String "--> make sure another reroute does not move things" appears 2 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "node6" appears 2 times in the file. 524
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.awareness.force.rack_id.values" appears 3 times in the file. 547
 Warning extension MultipleStringLiteralsExtended The String "1,2" appears 3 times in the file. 547
 Warning extension MultipleStringLiteralsExtended The String "--> replica will not start because we have only one rack value" appears 2 times in the file. 576
 Warning extension MultipleStringLiteralsExtended The String "zone" appears 4 times in the file. 768
 Warning extension MultipleStringLiteralsExtended The String "A-0" appears 2 times in the file. 789
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 789
 Warning extension MultipleStringLiteralsExtended The String "B-0" appears 2 times in the file. 790
 Warning extension MultipleStringLiteralsExtended The String "A-1" appears 3 times in the file. 811

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/BalanceConfigurationTests.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 58
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 86
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 114
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "node" appears 4 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "start the replica shards" appears 3 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "complete rebalancing" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "rebalancing" appears 2 times in the file. 239
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numShards'. 261
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numberOfNodes'. 261
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numShards'. 275
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numberOfNodes'. 275
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numShards'. 291
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numberOfNodes'. 291
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 3 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "node0" appears 2 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 3 times in the file. 416
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 2 times in the file. 421

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/BalanceUnbalancedClusterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Node: " appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String " has shard mismatch: " appears 2 times in the file. 90

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/CatAllocationTestBase.java

Severity Category Rule Message Line
 Warning extension NameConventionForJunit4TestClasses JUnit test class name should match '.+Test\d*|.+Tests\d*|Test.+|Tests.+|.+IT|.+ITs|.+TestCase\d*|.+TestCases\d*' pattern. 54
 Warning extension MultipleVariableDeclarationsExtended Only one variable definition per line allowed. 133

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/ClusterRebalanceRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 114 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 105 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "start two nodes" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "start all the primary shards for test1, replicas will start initializing" appears 6 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "start the test1 replica shards" appears 6 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 15 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "start all the primary shards for test2, replicas will start initializing" appears 3 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "now, start 1 more node, check that rebalancing will not happen (for test1) because we set it to all_active" appears 2 times in the file. 517

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/ConcurrentRebalanceRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 21 times in the file. 52

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/DeadNodesAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.concurrent_recoveries" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "always" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "--> building initial routing table" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test" appears 15 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "--> adding 2 nodes on same rack and do rerouting" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 15 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 14 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "--> verifying all is allocated" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "--> adding additional node" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 10 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "--> moving primary shard to node3" appears 2 times in the file. 151

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/DisableAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "--> adding two nodes and do rerouting" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "--> start the shards (primaries)" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 3 times in the file. 116

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/ElectReplicaAsPrimaryDuringRelocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 2 times in the file. 63

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/FailedNodeRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 6 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "start 4 nodes" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "node4" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "start all the primary shards, replicas will start initializing" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "start the replica shards" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "remove 2 nodes where primaries are allocated, reroute" appears 2 times in the file. 87

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/FailedShardsRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.concurrent_recoveries" appears 6 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "always" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "test" appears 111 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 27 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 23 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 16 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "--> moving primary shard to node3" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 5 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Adding two nodes and performing rerouting" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "Start the shards (primaries)" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "Start the shards (backups)" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "fail the shard again, see that nothing happens" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "node" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "node4" appears 2 times in the file. 504

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/FilterRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value1,value2" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "value3,value4" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 5 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "tag1" appears 8 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "node4" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "--> start the shards (primaries)" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "--> start the shards (replicas)" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "--> make sure shards are only allocated on tag1 with value1 and value2" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.include.tag1" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.exclude.tag1" appears 2 times in the file. 106

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/IndexBalanceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.node_concurrent_recoveries" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.node_initial_primaries_recoveries" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "always" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.cluster_concurrent_rebalance" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "test" appears 105 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 68 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "Adding three node and performing rerouting" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 13 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 13 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 13 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "Another round of rebalancing" appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Reroute, nothing should change" appears 5 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "Start the more shards" appears 3 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "Add another node and perform rerouting, nothing will happen since primary not started" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "Start the backup shard" appears 2 times in the file. 266

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/NodeVersionAllocationDeciderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.concurrent_recoveries" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "always" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.cluster_concurrent_rebalance" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "test" appears 70 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "test_" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "node" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "old0" appears 6 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "old1" appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "new0" appears 5 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "new1" appears 2 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "RoutingNodes: {}" appears 3 times in the file. 274
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 289
 Warning extension MultipleStringLiteralsExtended The String "From: " appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String " with Version: " appears 4 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String " to: " appears 2 times in the file. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 310
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension LogicConditionNeedOptimization Condition with && at line 386 position 56 need optimization. All method calls are advised to move to end of logic expression. 386

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/PreferLocalPrimariesToRelocatingPrimariesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "tag1" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.exclude.tag1" appears 2 times in the file. 84

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/PreferPrimaryAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "new_index" appears 3 times in the file. 87

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/PrimaryElectionRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.concurrent_recoveries" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Adding two nodes and performing rerouting" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 7 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 3 times in the file. 81

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/PrimaryNotRelocatedWhileBeingRecoveredTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 2 times in the file. 66

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/RandomAllocationDeciderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "INDEX_" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "adding node [{}]" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "NODE_" appears 5 times in the file. 97
 Warning extension LogicConditionNeedOptimization Condition with && at line 144 position 102 need optimization. All method calls are advised to move to end of logic expression. 144
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 153
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 154
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 160
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'CTOR(.*)'. 174

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/RebalanceAfterActiveTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 21 times in the file. 58

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/ReplicaAllocatedAfterPrimaryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 27 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/RoutingNodesIntegrityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.node_concurrent_recoveries" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.node_initial_primaries_recoveries" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "always" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.cluster_concurrent_rebalance" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test" appears 14 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 14 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "Adding three node and performing rerouting" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 12 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 12 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 12 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Another round of rebalancing" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "Reroute, nothing should change" appears 4 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "Start the more shards" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "Add another node and perform rerouting, nothing will happen since primary not started" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "Start the backup shard" appears 2 times in the file. 162

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/SameShardRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 82

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/ShardVersioningTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 14 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 13 times in the file. 49

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/ShardsLimitAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.concurrent_recoveries" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 9 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 9 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Start the primary shards" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 3 times in the file. 130

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/SingleShardNoReplicasRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.concurrent_recoveries" appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "test" appears 87 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 11 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Marking the shard as started" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 7 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "always" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.cluster_concurrent_rebalance" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table with " appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String " indices" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "node" appears 5 times in the file. 243
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 280

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/SingleShardOneReplicaRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 49 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 6 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 2 times in the file. 153

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/TenShardsOneReplicaRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 39 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 9 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 8 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 4 times in the file. 152

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/ThrottlingAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.node_initial_primaries_recoveries" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "start one node, do reroute, only 3 should initialize" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "start initializing, another 3 should initialize" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "start initializing, all primaries should be started" appears 2 times in the file. 95

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/UpdateNumberOfReplicasTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 53 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 5 times in the file. 121

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDeciderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 43 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 40 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 28 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "node4" appears 10 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "[test][0][p]" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "[test][0][r]" appears 4 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "--> calling fake getClusterInfo" appears 7 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.concurrent_recoveries" appears 11 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "always" appears 11 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.cluster_concurrent_rebalance" appears 11 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "test" appears 29 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "--> adding two nodes" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "--> start the shards (primaries)" appears 4 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "--> start the shards (replicas)" appears 3 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "--> adding node3" appears 3 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "--> changing decider settings" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "60%" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "--> changing settings again" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "--> adding node4" appears 2 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "--> apply INITIALIZING shards" appears 3 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "30b" appears 2 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "n1" appears 4 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "n2" appears 7 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "n3" appears 4 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "node5" appears 4 times in the file. 268
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 322
 Warning extension MultipleStringLiteralsExtended The String "40b" appears 2 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "--> adding node1" appears 2 times in the file. 569
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 733

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDeciderUnitTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "0b" appears 3 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension MultipleStringLiteralsExtended The String "500mb" appears 2 times in the file. 76

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/EnableAllocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Building initial routing table" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "--> adding two nodes and do rerouting" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "--> start the shards (primaries)" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 3 times in the file. 118

elasticsearch/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/MockDiskUsagesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "n1" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "n2" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "n3" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "--> node {} has {} shards" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "node_t1" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "node_t2" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "node_t3" appears 2 times in the file. 175

elasticsearch/src/test/java/org/elasticsearch/cluster/serialization/ClusterSerializationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "node3" appears 2 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/cluster/serialization/ClusterStateToStringTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test_idx" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "test_template" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "node_foo" appears 4 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/cluster/settings/ClusterSettingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1s" appears 2 times in the file. 119

elasticsearch/src/test/java/org/elasticsearch/cluster/settings/SettingsValidatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "10m" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "10g" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "10.2" appears 8 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "10.2.3" appears 6 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "0.0" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "-1.0" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "0" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "-1" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "asdasd" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "20" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "-1%" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "101%" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "100%" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "99%" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "0%" appears 2 times in the file. 92

elasticsearch/src/test/java/org/elasticsearch/cluster/shards/ClusterSearchShardsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node.tag" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "A" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.include.tag" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "4" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "ABC" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "routing_alias" appears 3 times in the file. 100

elasticsearch/src/test/java/org/elasticsearch/cluster/structure/RoutingIteratorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 18 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 4 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.allocation.concurrent_recoveries" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "test" appears 18 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "node1" appears 8 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "rack_id" appears 4 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "zone" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "node2" appears 4 times in the file. 235
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 248
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 256
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 298
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 298
 Warning extension MultipleStringLiteralsExtended The String "_shards:0" appears 2 times in the file. 298
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 302
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 302
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 307
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 307
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 312
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 312
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 317
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 317
 Warning extension MultipleStringLiteralsExtended The String "_shards:0;_prefer_node:node1" appears 2 times in the file. 317
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 322
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 322

elasticsearch/src/test/java/org/elasticsearch/codecs/CodecTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 54
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 55
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 56
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "quick brown fox" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "quick lazy huge brown fox" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "quick brown" appears 2 times in the file. 70
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 72
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 81
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 83
 Warning extension MultipleStringLiteralsExtended The String "doc_values_format" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 90

elasticsearch/src/test/java/org/elasticsearch/common/BooleansTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 36
 Warning extension MultipleStringLiteralsExtended The String "true" appears 10 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "false" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "on" appears 10 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "off" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 10 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "no" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "0" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 36
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 37
 Warning extension MultipleStringLiteralsExtended The String "prefix" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "suffix" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "] as boolean" appears 2 times in the file. 42
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 77
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 78
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81

elasticsearch/src/test/java/org/elasticsearch/common/ChannelsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "read bytes didn't match written bytes" appears 5 times in the file. 71
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 92

elasticsearch/src/test/java/org/elasticsearch/common/ParseFieldTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 34
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 36
 Warning extension MultipleStringLiteralsExtended The String "barFoo" appears 5 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 4 times in the file. 40
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 58
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 65
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 75
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 78
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 96

elasticsearch/src/test/java/org/elasticsearch/common/StringsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 29
 Warning extension MultipleStringLiteralsExtended The String "fooBar" appears 4 times in the file. 30
 Warning extension MultipleStringLiteralsExtended The String "FooBar" appears 2 times in the file. 31

elasticsearch/src/test/java/org/elasticsearch/common/TableTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 31
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 37
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 43
 Warning extension MultipleStringLiteralsExtended The String "error" appears 2 times in the file. 46
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 49
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 55
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 61
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 11 times in the file. 65
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 77
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 7 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "bar1" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "bar2" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 2 times in the file. 104

elasticsearch/src/test/java/org/elasticsearch/common/UUIDTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Method definition in wrong order. Expected 'Method(.*)' then 'InnerClass()'. 77

elasticsearch/src/test/java/org/elasticsearch/common/blobstore/BlobStoreTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 2 times in the file. 45

elasticsearch/src/test/java/org/elasticsearch/common/breaker/MemoryCircuitBreakerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "tripped too many times" appears 2 times in the file. 62
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 66
 Warning extension MultipleStringLiteralsExtended The String "no other exceptions were thrown" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "breaker was tripped" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "breaker was tripped at least once" appears 2 times in the file. 82
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 124
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 186
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 195
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 223
 Warning extension MultipleStringLiteralsExtended The String "should never reach this" appears 2 times in the file. 226
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 238

elasticsearch/src/test/java/org/elasticsearch/common/bytes/BytesReferenceTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 39
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 45
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57

elasticsearch/src/test/java/org/elasticsearch/common/bytes/PagedBytesReferenceTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "expected IllegalStateException" appears 4 times in the file. 95
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 190
 Warning extension MultipleStringLiteralsExtended The String "rw" appears 2 times in the file. 263
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 559

elasticsearch/src/test/java/org/elasticsearch/common/cli/CheckFileCommandTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "basic" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "] used to be [" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "], but now is [" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "anything" appears 5 times in the file. 146

elasticsearch/src/test/java/org/elasticsearch/common/cli/CliToolTestCase.java

Severity Category Rule Message Line
 Warning extension RedundantReturn Redundant return. 82

elasticsearch/src/test/java/org/elasticsearch/common/cli/CliToolTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cmd" appears 13 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "tool" appears 12 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "io error" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "cmd1" appears 3 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "-h" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "cmd1 help" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "cmd0" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "error message" appears 3 times in the file. 235

elasticsearch/src/test/java/org/elasticsearch/common/cli/TerminalTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "text" appears 10 times in the file. 34

elasticsearch/src/test/java/org/elasticsearch/common/collect/CopyOnWriteHashMapTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 33
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'O' does not extend anything. 36
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "b" appears 3 times in the file. 121

elasticsearch/src/test/java/org/elasticsearch/common/collect/CopyOnWriteHashSetTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 33
 Warning extension UselessSuperCtorCall Super call could be removed: Class 'O' does not extend anything. 36
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 103

elasticsearch/src/test/java/org/elasticsearch/common/compress/CompressedStreamTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 76
 Warning extension MultipleStringLiteralsExtended The String "body" appears 3 times in the file. 96
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 128
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 196
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 256
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 378

elasticsearch/src/test/java/org/elasticsearch/common/compress/CompressedStringTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "lzf" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "compress.default.type" appears 2 times in the file. 44

elasticsearch/src/test/java/org/elasticsearch/common/geo/GeoJSONShapeParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 49 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Point" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "coordinates" appears 47 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "LineString" appears 3 times in the file. 65
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 95
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 96
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 100
 Warning extension MultipleStringLiteralsExtended The String "envelope" appears 4 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "Polygon" appears 17 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "point" appears 3 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "multipoint" appears 3 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "MultiPolygon" appears 3 times in the file. 266
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 488
 Warning extension MultipleStringLiteralsExtended The String "polygon" appears 7 times in the file. 493
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 787
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 802
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 2 times in the file. 807
 Warning extension MultipleStringLiteralsExtended The String "orientation" appears 6 times in the file. 822

elasticsearch/src/test/java/org/elasticsearch/common/geo/ShapeBuilderTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 173
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 184
 Warning extension MultipleStringLiteralsExtended The String "100m" appears 5 times in the file. 185
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 186
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 189
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 192
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 195
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 198
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 204
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 313
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 313
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 314
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 314
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 315
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 315
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 316
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 316
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 317
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 317
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 318
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 318
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 319
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 319
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 320
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 320
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 321
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 321
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 322
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 323
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 324
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 324
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 325
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 325
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 326
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 326
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 327
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 327
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 328
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 329
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 329
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 330
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 330
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 331
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 332
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 333
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 334
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 334
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 335
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 335
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 336
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 337
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 338
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 339
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 339
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 340
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 340
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 341
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 341
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 342
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 342
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 343
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 344
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 344
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 345
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 345
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 346
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 346
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 347
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 347
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 348
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 348
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 349
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 349
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 350
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 350
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 353
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 353
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 354
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 354
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 355
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 355
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 356
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 357
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 357
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 358
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 358
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 359
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 359
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 360
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 361
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 361
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 362
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 363
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 363
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 364
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 364
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 365
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 366
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 367
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 367
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 368
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 368
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 369
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 369
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 370
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 370
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 371
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 371
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 372
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 372
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 373
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 373
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 374
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 374
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 375
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 375
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 376
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 376
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 377
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 377
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 378
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 378
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 492
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 536
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 596

elasticsearch/src/test/java/org/elasticsearch/common/hppc/HppcMapsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "3" appears 9 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "4" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 45
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 72
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 79
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 86

elasticsearch/src/test/java/org/elasticsearch/common/io/FileSystemUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "v1" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String ".new" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "file1.txt" appears 6 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "version1" appears 22 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "dir/file2.txt" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "v2" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "file1.txt.new" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "version2" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "dir/file2.txt.new" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "file3.txt" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "dir/subdir/file4.txt" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "v3" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "version3" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "file3.txt.new" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "dir/subdir/file4.txt.new" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "dir/subdir/file5.txt" appears 2 times in the file. 87

elasticsearch/src/test/java/org/elasticsearch/common/io/StreamsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "content" appears 6 times in the file. 42

elasticsearch/src/test/java/org/elasticsearch/common/io/streams/BytesStreamsTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 88
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 89
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 2 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "goodbye" appears 2 times in the file. 283
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 306
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 318
 Warning extension MultipleStringLiteralsExtended The String "expected IllegalStateException: stream closed" appears 3 times in the file. 320
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 327
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 336

elasticsearch/src/test/java/org/elasticsearch/common/jna/NativesTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 93

elasticsearch/src/test/java/org/elasticsearch/common/joda/DateMathParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "dateOptionalTime" appears 2 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "2014-05-30T20:21:35.123" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "2014-11-19T03" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T13" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "2014-12-17T23:59" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:27:32" appears 5 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:27" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18||/y" appears 4 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "2014-12-31T23:59:59.999" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "2014||/y" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "CET" appears 7 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18||/M" appears 4 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "2014-11-01" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "2014-11-30T23:59:59.999" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "2014-11||/M" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14||/w" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "2014-11-17" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "2014-11-23T23:59:59.999" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18||/w" appears 6 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "2014-11-16T23:00:00.000Z" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14||/d" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T23:59:59.999" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18||/d" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:27||/h" appears 4 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14" appears 4 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:59:59.999" appears 4 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14||/H" appears 4 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:27:32||/m" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:27:59.999" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:27||/m" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:27:32.123||/s" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:27:32.999" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "2014-11-18T14:27:32||/s" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "Expected date math truncation exception" appears 2 times in the file. 179
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195

elasticsearch/src/test/java/org/elasticsearch/common/logging/jdk/JDKESLoggerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "This is an error" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "This is a warning" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "This is an info" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "This is a debug" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "This is a trace" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "locationInfoTest" appears 5 times in the file. 69
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 105

elasticsearch/src/test/java/org/elasticsearch/common/logging/log4j/Log4jESLoggerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "This is an error" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "This is a warning" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "This is an info" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "This is a debug" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "This is a trace" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "locationInfoTest" appears 5 times in the file. 92

elasticsearch/src/test/java/org/elasticsearch/common/logging/log4j/LoggingConfigurationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "path.conf" appears 5 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "json" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "yml" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "yaml" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "yml: bar" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 126

elasticsearch/src/test/java/org/elasticsearch/common/lucene/LuceneTest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 79
 Warning extension MultipleStringLiteralsExtended The String "id" appears 18 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "3" appears 4 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "4" appears 3 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "segments_1" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "_0.cfs" appears 2 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "_0.cfe" appears 2 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "_0.si" appears 2 times in the file. 236
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 286
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 293

elasticsearch/src/test/java/org/elasticsearch/common/lucene/all/SimpleAllTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 11 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "all" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 10 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "your" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "boosts" appears 2 times in the file. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension MultipleStringLiteralsExtended The String "something" appears 9 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "else" appears 9 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 9 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 30 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "2" appears 4 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "something moo" appears 4 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "else koo" appears 4 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "koo" appears 2 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "moo" appears 2 times in the file. 263

elasticsearch/src/test/java/org/elasticsearch/common/lucene/index/FreqTermsEnumTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 6 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 100
 Warning extension MoveVariableInsideIf Variable 'doc' can be moved inside the block at line '118' to restrict runtime creation. 117
 Warning extension MultipleStringLiteralsExtended The String "cycle " appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String ", term " appears 2 times in the file. 206

elasticsearch/src/test/java/org/elasticsearch/common/lucene/search/MatchAllDocsFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/common/lucene/search/MoreLikeThisQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "text" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "lucene" appears 3 times in the file. 53
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 64

elasticsearch/src/test/java/org/elasticsearch/common/lucene/search/MultiPhrasePrefixQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field" appears 7 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "aaa" appears 2 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/common/lucene/search/TermsFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "all" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "xxx" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "19" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "20" appears 4 times in the file. 68
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 100
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 104
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 108
 Warning extension MultipleStringLiteralsExtended The String "10" appears 2 times in the file. 108
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 112

elasticsearch/src/test/java/org/elasticsearch/common/lucene/search/XBooleanFilterLuceneTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "admin guest" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "010" appears 7 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "20040101" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "Y" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "guest" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "020" appears 15 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "20050101" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "admin" appears 11 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Maybe" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "030" appears 19 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "N" appears 11 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "accessRights" appears 11 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "price" appears 25 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "date" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "inStock" appears 13 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "Should retrieves only 1 doc" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "Shoulds Ored but AndNot" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "Shoulds Ored but AndNots" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "Shoulds Ored but MUST" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "040" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "20051231" appears 2 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "Shoulds Ored but MUSTs ANDED and MustNot" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "MUST" appears 2 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "MUST_NOT" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "MUST_NOT wins over MUST for same docs" appears 2 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "A MUST filter that returns a null DIS should never return documents" appears 2 times in the file. 284
 Warning extension MultipleStringLiteralsExtended The String "A MUST filter that returns a null DISI should never return documents" appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "A single MUST_NOT filter that returns a null DIS should be invisible" appears 2 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String ">0 shoulds with no matches should return no docs" appears 3 times in the file. 344

elasticsearch/src/test/java/org/elasticsearch/common/lucene/search/XBooleanFilterTests.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'leftResult' can be moved inside the block at line '509' to restrict runtime creation. 498
 Warning extension MoveVariableInsideIf Variable 'rightResult' can be moved inside the block at line '509' to restrict runtime creation. 499
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 504
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 507

elasticsearch/src/test/java/org/elasticsearch/common/lucene/store/InputStreamIndexInputTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 12 times in the file. 43

elasticsearch/src/test/java/org/elasticsearch/common/lucene/uid/VersionsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "1" appears 35 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "2" appears 4 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 260

elasticsearch/src/test/java/org/elasticsearch/common/math/MathUtilsTests.java

Severity Category Rule Message Line
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 31
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 34
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 35

elasticsearch/src/test/java/org/elasticsearch/common/path/PathTrieTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/a/b/c" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "walla" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "a/d/g" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "kuku" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "x/b/c" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "lala" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "one" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "two" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "three" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "bingo" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 9 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "/b/{name}" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 10 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "/b/testX" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "testX" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "b" appears 3 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "{test}/a" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "test4" appears 4 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "test5" appears 4 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "test6" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "/b/a" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "*" appears 4 times in the file. 146

elasticsearch/src/test/java/org/elasticsearch/common/property/PropertyPlaceholderTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "{" appears 5 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "}" appears 11 times in the file. 32
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 5 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "bar1" appears 2 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "foo2" appears 5 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "{foo1}" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "${" appears 8 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "}}" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 12 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "${foo}" appears 7 times in the file. 53
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 74
 Warning extension MultipleStringLiteralsExtended The String "${foo1}" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "${foo2}" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "barbar" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 6 times in the file. 109
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 138

elasticsearch/src/test/java/org/elasticsearch/common/recycler/AbstractRecyclerTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88

elasticsearch/src/test/java/org/elasticsearch/common/regex/RegexTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 33
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 35
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60
 Warning extension MultipleStringLiteralsExtended The String "ddd" appears 2 times in the file. 60
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "**ddd" appears 2 times in the file. 62
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension MultipleStringLiteralsExtended The String "fffabcddd" appears 3 times in the file. 64
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 65
 Warning extension MultipleStringLiteralsExtended The String "fff**ddd" appears 2 times in the file. 65
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension MultipleStringLiteralsExtended The String "fffabcdd" appears 2 times in the file. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68

elasticsearch/src/test/java/org/elasticsearch/common/rounding/TimeZoneRoundingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "2009-02-03T01:01:01" appears 5 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "2009-02-01T00:00:00.000Z" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "2012-01-10T01:01:01" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "2012-01-09T00:00:00.000Z" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "2012-01-08T00:00:00.000Z" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "2009-02-02T00:00:00" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "2009-02-03T00:00:00" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "2009-02-03T01:00:00" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "2009-02-03T02:00:00" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "UTC" appears 5 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "2014-10-26T01:01:01" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "CET" appears 10 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "2014-10-26T01:00:00" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "2014-03-30T01:01:01" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "2014-03-30T01:00:00" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "2014-03-09T03:01:01" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "America/Chicago" appears 15 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "2014-03-09T03:00:00" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "2013-11-03T06:01:01" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "2013-11-03T06:00:00" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "2014-11-02T06:01:01" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "2014-11-02T06:00:00" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "Asia/Jerusalem" appears 21 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "2014-11-11T17:00:00" appears 4 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "2014-08-11T17:00:00" appears 2 times in the file. 134

elasticsearch/src/test/java/org/elasticsearch/common/settings/ImmutableSettingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test.camelCase" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 15 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "test.class" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "test.class.package" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "org.elasticsearch.common.settings." appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "TestClass" appears 4 times in the file. 58
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 66
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "key1=value1;key2=value2;" appears 3 times in the file. 87
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 98
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "sysProp1" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "sysVal1" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "setting1" appears 8 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 12 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 8 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "def" appears 9 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "ghi" appears 9 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "jkl" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "a" appears 6 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "b" appears 5 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "c" appears 5 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 8 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "foo.bar" appears 8 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "foo.baz" appears 6 times in the file. 170
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension MultipleStringLiteralsExtended The String "value" appears 26 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "1" appears 15 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "2" appears 16 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "3" appears 20 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "value.with.deep.key" appears 3 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "4" appears 15 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "5" appears 15 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "value.deep.key" appears 12 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "d" appears 4 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "e" appears 3 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "f" appears 3 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "value.data" appears 3 times in the file. 314
 Warning extension MultipleStringLiteralsExtended The String "foo." appears 4 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "foo.test" appears 4 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 347

elasticsearch/src/test/java/org/elasticsearch/common/settings/loader/JsonSettingsLoaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test3-1" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "test3-2" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "test1.test3" appears 3 times in the file. 48

elasticsearch/src/test/java/org/elasticsearch/common/settings/loader/YamlSettingsLoaderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test3-1" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "test3-2" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "test1.test3" appears 3 times in the file. 48

elasticsearch/src/test/java/org/elasticsearch/common/unit/ByteSizeValueTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 37
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 42
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 47
 Warning extension MultipleStringLiteralsExtended The String "42pb" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "54tb" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "12gb" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "1b" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "23kb" appears 4 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "23b" appears 2 times in the file. 86
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 89
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 94

elasticsearch/src/test/java/org/elasticsearch/common/unit/DistanceUnitTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 37
 Warning extension MultipleStringLiteralsExtended The String "Unit can be parsed from '" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "'" appears 3 times in the file. 59

elasticsearch/src/test/java/org/elasticsearch/common/unit/FuzzinessTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 37
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 37
 Warning extension MoveVariableInsideIf Variable 'floatRep' can be moved inside the block at line '70' to restrict runtime creation. 68
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 123
 Warning extension MultipleStringLiteralsExtended The String "ab" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "abcefg" appears 4 times in the file. 178

elasticsearch/src/test/java/org/elasticsearch/common/unit/RatioValueTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "100.0%" appears 2 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "0.0%" appears 6 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "15.1%" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "0.1%" appears 3 times in the file. 39

elasticsearch/src/test/java/org/elasticsearch/common/unit/SizeValueTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1k" appears 2 times in the file. 36
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 39
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 43
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 47
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 51
 Warning extension MultipleStringLiteralsExtended The String "1p" appears 2 times in the file. 52
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 55
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 66

elasticsearch/src/test/java/org/elasticsearch/common/util/BigArraysTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 45
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 53
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 69
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 85
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 101
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 117
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 133
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 237
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 254
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 280
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 281
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 282
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 287
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 288
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 289
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 294
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 295
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 296
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 317
 Warning extension MultipleStringLiteralsExtended The String "Byte" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "Int" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "Long" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "Float" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "Double" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "Object" appears 2 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "new" appears 2 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "Array" appears 2 times in the file. 343
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 372

elasticsearch/src/test/java/org/elasticsearch/common/util/ByteUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension MoveVariableInsideIf Variable 'pos' can be moved inside the block at line '99' to restrict runtime creation. 97

elasticsearch/src/test/java/org/elasticsearch/common/util/BytesRefHashTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 61
 Warning extension MoveVariableInsideIf Variable 'spare' can be moved inside the block at line '82' to restrict runtime creation. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 225

elasticsearch/src/test/java/org/elasticsearch/common/util/CancellableThreadsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "thread [" appears 2 times in the file. 79
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117

elasticsearch/src/test/java/org/elasticsearch/common/util/CollectionUtilsTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 40

elasticsearch/src/test/java/org/elasticsearch/common/util/LongHashTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187

elasticsearch/src/test/java/org/elasticsearch/common/util/concurrent/CountDownTest.java

Severity Category Rule Message Line
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 48
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 50

elasticsearch/src/test/java/org/elasticsearch/common/util/concurrent/EsExecutorsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 43
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 135
 Warning extension MultipleStringLiteralsExtended The String "Min property" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "Max property" appears 2 times in the file. 167
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 177
 Warning extension MultipleStringLiteralsExtended The String "wrong pool size" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "wrong active size" appears 2 times in the file. 190
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 213

elasticsearch/src/test/java/org/elasticsearch/common/util/concurrent/PrioritizedExecutorsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "the blocking" appears 3 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "the waiting" appears 2 times in the file. 220
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 267
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 268

elasticsearch/src/test/java/org/elasticsearch/common/util/concurrent/RefCountedTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 63
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 75
 Warning extension MultipleStringLiteralsExtended The String " expected exception" appears 2 times in the file. 77
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 82
 Warning extension MultipleStringLiteralsExtended The String "closed" appears 3 times in the file. 86
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 110
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 122

elasticsearch/src/test/java/org/elasticsearch/common/xcontent/builder/BuilderRawFieldTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "s_field" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "s_value" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "payload_i" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "payload_d" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "payload_s" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "field5" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "value5" appears 2 times in the file. 71

elasticsearch/src/test/java/org/elasticsearch/common/xcontent/builder/XContentBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 12 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "value" appears 10 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "{\"test\":\"value\"}" appears 11 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "foo1" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "UTF8" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "test_name" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "{\"date\":\"" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "\"}" appears 4 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "calendar" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "{\"calendar\":\"" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "test field" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "fakefield" appears 2 times in the file. 224

elasticsearch/src/test/java/org/elasticsearch/common/xcontent/cbor/JsonVsCborTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "arr" appears 2 times in the file. 59

elasticsearch/src/test/java/org/elasticsearch/common/xcontent/smile/JsonVsSmileTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "arr" appears 2 times in the file. 64

elasticsearch/src/test/java/org/elasticsearch/common/xcontent/support/XContentHelperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "name1" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "t1" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "t2" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "t3" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "name4" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "t4" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 58

elasticsearch/src/test/java/org/elasticsearch/common/xcontent/support/XContentMapValuesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 10 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 8 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 14 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "something_else" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 2 times in the file. 49
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 57
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 62
 Warning extension MultipleStringLiteralsExtended The String "path1" appears 12 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "path2" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "test" appears 14 times in the file. 71
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 79
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 82
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 86
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 90
 Warning extension MultipleStringLiteralsExtended The String "value" appears 34 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "test.me" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "path1.path2.test" appears 3 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "xxx.yyy" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "path1.xxx" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "path2.yyy" appears 2 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "path1.xxx.path2.yyy.test" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "obj" appears 30 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "obj_name" appears 3 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "value_name" appears 2 times in the file. 209
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 210
 Warning extension MultipleStringLiteralsExtended The String "field" appears 17 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "array" appears 16 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 2 times in the file. 225
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 228
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 237
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 7 times in the file. 247
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 249
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 254
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 280
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 287
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 287
 Warning extension MultipleStringLiteralsExtended The String "*.field2" appears 3 times in the file. 287
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 293
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 293
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 299
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 299
 Warning extension MultipleStringLiteralsExtended The String "n_obj" appears 6 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "n_field" appears 2 times in the file. 319
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 323
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 327
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 330
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 338
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 338
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 343
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 346
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 369
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 382
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 396
 Warning extension MultipleStringLiteralsExtended The String "obj1" appears 14 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "obj2" appears 6 times in the file. 408
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 417
 Warning extension MultipleStringLiteralsExtended The String "*.obj2" appears 4 times in the file. 417
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 424
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 424
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 430
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 430
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 433
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 448
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 453

elasticsearch/src/test/java/org/elasticsearch/consistencylevel/WriteConsistencyLevelTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 13 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "Done Cluster Health, status " appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "can't index, does not match consistency" appears 2 times in the file. 57

elasticsearch/src/test/java/org/elasticsearch/count/query/CountQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 137 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 67 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "1" appears 59 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 78 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "value1_1" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 31 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "value2_1" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "quick brown fox" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "2" appears 40 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "quick lazy huge brown fox" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "quick brown" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "3" appears 28 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "the quick lazy huge brown fox jumps over the tree" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "the quick brown" appears 8 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "the lazy fox brown" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "4" appears 14 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "value_1" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "value_2" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "VALUE_3~1" appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "[VALUE_1 TO VALUE_3]" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "type" appears 33 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "past" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "type=date" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "future" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "_type" appears 2 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 14 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 26 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 3 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 8 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 5 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "value1_2" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "value2_3" appears 2 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 7 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "value3_4" appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "obj1" appears 4 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "obj1_val" appears 2 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "obj2" appears 2 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "obj2_val" appears 2 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "x*" appears 2 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "long" appears 4 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "double" appears 4 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 3 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 2 times in the file. 437
 Warning extension MultipleStringLiteralsExtended The String "type=string,analyzer=classic" appears 4 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "a" appears 6 times in the file. 455
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 499
 Warning extension MultipleStringLiteralsExtended The String "70%" appears 3 times in the file. 506
 Warning extension MultipleStringLiteralsExtended The String "30%" appears 2 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String "str" appears 4 times in the file. 536
 Warning extension MultipleStringLiteralsExtended The String "kimchy" appears 2 times in the file. 536
 Warning extension MultipleStringLiteralsExtended The String "date" appears 4 times in the file. 536
 Warning extension MultipleStringLiteralsExtended The String "2012-02-01" appears 2 times in the file. 536
 Warning extension MultipleStringLiteralsExtended The String "num" appears 4 times in the file. 536
 Warning extension MultipleStringLiteralsExtended The String "shay" appears 2 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "2012-02-05" appears 2 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 11 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 4 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "term" appears 24 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String "lookup" appears 11 times in the file. 599
 Warning extension MultipleStringLiteralsExtended The String "other" appears 3 times in the file. 599
 Warning extension MultipleStringLiteralsExtended The String "lookup2" appears 8 times in the file. 600
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 601
 Warning extension MultipleStringLiteralsExtended The String "arr" appears 4 times in the file. 602
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 607
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 608
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 609
 Warning extension MultipleStringLiteralsExtended The String "arr.term" appears 4 times in the file. 662
 Warning extension MultipleStringLiteralsExtended The String "type3" appears 2 times in the file. 702
 Warning extension MultipleStringLiteralsExtended The String "num_byte" appears 8 times in the file. 741
 Warning extension MultipleStringLiteralsExtended The String "num_short" appears 8 times in the file. 741
 Warning extension MultipleStringLiteralsExtended The String "num_integer" appears 8 times in the file. 742
 Warning extension MultipleStringLiteralsExtended The String "num_long" appears 8 times in the file. 742
 Warning extension MultipleStringLiteralsExtended The String "num_float" appears 8 times in the file. 743
 Warning extension MultipleStringLiteralsExtended The String "num_double" appears 8 times in the file. 743
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 772
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 774
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 776
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 778
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 780
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 782
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 800
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 802
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 804
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 806
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 808
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 810
 Warning extension MultipleStringLiteralsExtended The String "description" appears 6 times in the file. 819
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 822
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 826
 Warning extension MultipleStringLiteralsExtended The String "test.description" appears 2 times in the file. 829

elasticsearch/src/test/java/org/elasticsearch/count/simple/SimpleCountTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 27 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "type" appears 10 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "field" appears 14 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 10 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "from" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "to" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "192.168.0.7" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "XXX1" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "2010-01-" appears 2 times in the file. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension MultipleStringLiteralsExtended The String "date_field" appears 5 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "Di, 05 Dez 2000 02:55:00 -0800" appears 2 times in the file. 184

elasticsearch/src/test/java/org/elasticsearch/deleteByQuery/DeleteByQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "{" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "\"user\":\"kimchy\"," appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "\"postDate\":\"2013-01-30\"," appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "\"message\":\"trying out Elastic Search\"" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "twitter" appears 7 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "tweet" appears 2 times in the file. 59
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 90
 Warning extension MultipleStringLiteralsExtended The String "test" appears 28 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "d" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 171

elasticsearch/src/test/java/org/elasticsearch/deps/joda/SimpleJodaTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "MM/dd/yyyy" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "1970-01-01T00:00:00Z" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "1970-01-01T00:00:00" appears 2 times in the file. 84
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 92
 Warning extension MultipleStringLiteralsExtended The String "yyyy/MM/dd HH:mm:ss" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "1970/01/01 00:00:00" appears 6 times in the file. 111
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 136
 Warning extension MultipleStringLiteralsExtended The String "yyyy/MM/dd HH:mm:ss||yyyy/MM/dd" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "No date pattern provided" appears 5 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "2009-02-03T01:01:01" appears 5 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "2009-02-01T00:00:00.000Z" appears 3 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "2009-02-03T00:00:00.000Z" appears 4 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "2009-05-01T00:00:00.000Z" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "2009-02-02T00:00:00.000Z" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "2011-05-02T00:00:00.000Z" appears 2 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "2009-02-04T01:01:01" appears 2 times in the file. 244

elasticsearch/src/test/java/org/elasticsearch/deps/lucene/SimpleLuceneTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "str" appears 2 times in the file. 52
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 52
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 60
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 11 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "#id" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "int1" appears 3 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "int2" appears 3 times in the file. 224

elasticsearch/src/test/java/org/elasticsearch/deps/lucene/VectorHighlighterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 8 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "content" appears 15 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "the big bad dog" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "bad" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "ba" appears 2 times in the file. 84

elasticsearch/src/test/java/org/elasticsearch/discovery/DiscoveryWithServiceDisruptionsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1s" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "10s" appears 2 times in the file. 140
 Warning extension MoveVariableInsideIf Variable 'settings' can be moved inside the block at line '166' to restrict runtime creation. 161
 Warning extension MoveVariableInsideIf Variable 'nodeSettings' can be moved inside the block at line '181' to restrict runtime creation. 176
 Warning extension MultipleStringLiteralsExtended The String "---> legit elected master node=" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "test" appears 11 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "waiting for isolated node [{}] to have no master" appears 2 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "node [" appears 5 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "all" appears 2 times in the file. 319
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 387
 Warning extension MultipleStringLiteralsExtended The String "]: ---\n" appears 2 times in the file. 397
 Warning extension MultipleStringLiteralsExtended The String "[" appears 5 times in the file. 551
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 553
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 585
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 588
 Warning extension MultipleStringLiteralsExtended The String "_local" appears 2 times in the file. 593
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 622
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 659
 Warning extension MultipleStringLiteralsExtended The String "] still has [" appears 2 times in the file. 892
 Warning extension MultipleStringLiteralsExtended The String "] as master" appears 2 times in the file. 892
 Warning extension MultipleStringLiteralsExtended The String "]. " appears 2 times in the file. 922

elasticsearch/src/test/java/org/elasticsearch/discovery/ZenFaultDetectionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "TS_A" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "TS_B" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "5m" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "verified" appears 2 times in the file. 171

elasticsearch/src/test/java/org/elasticsearch/discovery/zen/ElectMasterServiceTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "master" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "n_" appears 2 times in the file. 49
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 66
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100

elasticsearch/src/test/java/org/elasticsearch/discovery/zen/ZenDiscoveryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "discovery.type" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "zen" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "1s" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "node.data" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "node.master" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 3 times in the file. 194

elasticsearch/src/test/java/org/elasticsearch/discovery/zen/ZenDiscoveryUnitTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/discovery/zen/ping/multicast/MulticastZenPingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "A" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "B" appears 3 times in the file. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124

elasticsearch/src/test/java/org/elasticsearch/discovery/zen/ping/unicast/UnicastZenPingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "UZP_A" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "UZP_B" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129

elasticsearch/src/test/java/org/elasticsearch/document/AliasedIndexDocumentActionsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 3 times in the file. 34
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 35

elasticsearch/src/test/java/org/elasticsearch/document/BulkTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 81 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 37 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "1" appears 22 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "field" appears 37 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "2" appears 20 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "3" appears 13 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "4" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "ctx._source.field += 1" appears 6 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 87
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 105
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 110
 Warning extension MultipleStringLiteralsExtended The String "6" appears 5 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "7" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "DocumentMissingException" appears 2 times in the file. 134
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 142
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 150
 Warning extension MultipleStringLiteralsExtended The String "type" appears 36 times in the file. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension MultipleStringLiteralsExtended The String "Version" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "e1" appears 5 times in the file. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension MultipleStringLiteralsExtended The String "ctx._source.field += a" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "failed to execute script" appears 2 times in the file. 227
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 232
 Warning extension MultipleStringLiteralsExtended The String "ctx._source.counter += 1" appears 3 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "counter" appears 9 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "update" appears 7 times in the file. 268
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 271
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 308
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 313
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 5 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "{\"parent\":{}}" appears 3 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "child" appears 3 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "{\"child\": {\"_parent\": {\"type\": \"parent\"}}}" appears 3 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "{\"index\" : { \"_index\" : \"test\", \"_type\" : \"parent\", \"_id\" : \"parent1\"}}\n" appears 3 times in the file. 425
 Warning extension MultipleStringLiteralsExtended The String "{\"field1\" : \"value1\"}\n" appears 3 times in the file. 426
 Warning extension MultipleStringLiteralsExtended The String "child1" appears 2 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "{ \"field1\" : \"value1\"}\n" appears 2 times in the file. 501
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 535
 Warning extension MultipleStringLiteralsExtended The String "path" appears 3 times in the file. 568
 Warning extension MultipleStringLiteralsExtended The String "{\"name\": \"Malformed}\n" appears 3 times in the file. 575
 Warning extension MultipleStringLiteralsExtended The String "{\"index\": {} }\n" appears 3 times in the file. 600
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 650
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 689
 Warning extension MultipleStringLiteralsExtended The String "delete" appears 2 times in the file. 693
 Warning extension MultipleStringLiteralsExtended The String "bulkindex1" appears 2 times in the file. 704
 Warning extension MultipleStringLiteralsExtended The String "bulkindex2" appears 6 times in the file. 704
 Warning extension MultipleStringLiteralsExtended The String "text" appears 3 times in the file. 707
 Warning extension MultipleStringLiteralsExtended The String "index2_type" appears 4 times in the file. 708
 Warning extension MultipleStringLiteralsExtended The String "hallo2" appears 2 times in the file. 708

elasticsearch/src/test/java/org/elasticsearch/document/DocumentActionsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 65 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 31 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "1" appears 23 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Refreshing" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "cycle #" appears 9 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "type1.name" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "2" appears 11 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "create" appears 3 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "routing" appears 3 times in the file. 287

elasticsearch/src/test/java/org/elasticsearch/env/NodeEnvironmentTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension MultipleStringLiteralsExtended The String "LockedShards: " appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 26 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "shard is locked" appears 4 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "0" appears 4 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 179
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 186
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 333
 Warning extension MultipleStringLiteralsExtended The String "myindex" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "shard paths with a custom data_path should contain only regular paths" appears 2 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "elasticsearch/nodes/0/indices/myindex/0" appears 2 times in the file. 358
 Warning extension MultipleStringLiteralsExtended The String "index paths uses the regular template" appears 2 times in the file. 360
 Warning extension MultipleStringLiteralsExtended The String "elasticsearch/nodes/0/indices/myindex" appears 2 times in the file. 361
 Warning extension MultipleStringLiteralsExtended The String "path.home" appears 3 times in the file. 382
 Warning extension MultipleStringLiteralsExtended The String "path.data" appears 3 times in the file. 383

elasticsearch/src/test/java/org/elasticsearch/exists/SimpleExistsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 23 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "type" appears 10 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "field" appears 14 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "value" appears 8 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 7 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "from" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "to" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "192.168.0.7" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "XXX1" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "2010-01-05T02:00" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "2010-01-06T02:00" appears 2 times in the file. 106

elasticsearch/src/test/java/org/elasticsearch/explain/ExplainActionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 52 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "1" appears 27 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 14 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 64
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 7 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension MultipleStringLiteralsExtended The String "obj1" appears 4 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 7 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 8 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "obj1.field1" appears 7 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension MultipleStringLiteralsExtended The String "obj1.field2" appears 3 times in the file. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 206
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 4 times in the file. 214
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 223
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 224
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 241
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 242
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "some explanation" appears 2 times in the file. 278

elasticsearch/src/test/java/org/elasticsearch/flt/FuzzyLikeThisActionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "int_value" appears 9 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "string_value" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "index" appears 5 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "42" appears 3 times in the file. 77

elasticsearch/src/test/java/org/elasticsearch/gateway/GatewayServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gateway.expected_nodes" appears 2 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/gateway/local/LocalGatewayIndexStateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 13 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "local" appears 13 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "test" appears 73 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 32 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "--> waiting for yellow status" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "--> verify meta _routing required exists" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "--> restarting nodes..." appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "--> starting 2 nodes" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "--> waiting for green status" appears 17 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "--> indexing a simple document" appears 8 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "1" appears 22 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 14 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 12 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "--> closing test index..." appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "--> verifying that the state is green" appears 3 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "--> trying to index into a closed index ..." appears 2 times in the file. 126
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 127
 Warning extension MultipleStringLiteralsExtended The String "1s" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 4 times in the file. 135
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 170
 Warning extension MultipleStringLiteralsExtended The String "2" appears 7 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "--> cleaning nodes" appears 3 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "--> starting 1 master node non data" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "node.data" appears 3 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "--> create an index" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "--> waiting for test index to be created" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "--> verify 1 doc in the index" appears 7 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "--> starting two nodes" appears 5 times in the file. 282
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 329
 Warning extension MultipleStringLiteralsExtended The String "gateway.local.auto_import_dangled" appears 4 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "--> restarting the nodes" appears 4 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "--> deleting the data for the first node" appears 4 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "--> verify that the dangling index exists" appears 2 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "--> verify the doc is there" appears 3 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 463
 Warning extension MultipleStringLiteralsExtended The String "--> verify that the dangling index does not exists" appears 2 times in the file. 502

elasticsearch/src/test/java/org/elasticsearch/gateway/local/QuorumLocalGatewayTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> starting 3 nodes" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "local" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "test" appears 13 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "--> indexing..." appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "field" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "500ms" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "--> done cluster_health, status " appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "--> running cluster_health (wait for the shards to startup)" appears 2 times in the file. 158

elasticsearch/src/test/java/org/elasticsearch/gateway/local/RecoveryBackwardsCompatibilityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 69
 Warning extension MoveVariableInsideIf Variable 'recoverStateAsJSON' can be moved inside the block at line '107' to restrict runtime creation. 106
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 120

elasticsearch/src/test/java/org/elasticsearch/gateway/local/SimpleRecoveryLocalGatewayTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 21 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "appAccountIds" appears 9 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "type" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "test" appears 31 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "10990239" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 5 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "10990473" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "10990513" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "10990695" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "11026351" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "Running Cluster Health (wait for the shards to startup)" appears 8 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "field" appears 19 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "num" appears 6 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 7 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 7 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "gateway.recover_after_nodes" appears 3 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "--> running cluster_health (wait for the shards to startup)" appears 2 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 3 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "template_1" appears 2 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "te*" appears 2 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "store" appears 2 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 2 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "test_alias" appears 3 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "--> shutting down the nodes" appears 2 times in the file. 374
 Warning extension MultipleStringLiteralsExtended The String "--> full cluster restart" appears 2 times in the file. 385
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 406
 Warning extension MultipleStringLiteralsExtended The String "path.data" appears 2 times in the file. 430

elasticsearch/src/test/java/org/elasticsearch/gateway/local/state/meta/MetaDataStateFormatTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "global-" appears 8 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "global-3.st" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "foo-" appears 10 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "*" appears 4 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "foo-*" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String ".st" appears 8 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "latest version can not be read" appears 2 times in the file. 274
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 320
 Warning extension MoveVariableInsideIf Variable 'type' can be moved inside the block at line '344' to restrict runtime creation. 340
 Warning extension LogicConditionNeedOptimization Condition with && at line 341 position 36 need optimization. All method calls are advised to move to end of logic expression. 341
 Warning extension LogicConditionNeedOptimization Condition with && at line 354 position 36 need optimization. All method calls are advised to move to end of logic expression. 354
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 387
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 455
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 463
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 469
 Warning extension MultipleStringLiteralsExtended The String "int" appears 2 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 471
 Warning extension MultipleStringLiteralsExtended The String "double" appears 2 times in the file. 472
 Warning extension MultipleStringLiteralsExtended The String "boolean" appears 2 times in the file. 473
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 513
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 531

elasticsearch/src/test/java/org/elasticsearch/gateway/none/RecoverAfterNodesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gateway.recover_after_nodes" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "--> start master_node (1)" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "gateway.recover_after_master_nodes" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "node.data" appears 8 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "node.master" appears 8 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "--> start data_node (1)" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "--> start data_node (2)" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "--> start master_node (2)" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "gateway.recover_after_data_nodes" appears 4 times in the file. 128

elasticsearch/src/test/java/org/elasticsearch/get/GetActionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 96 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "index.refresh_interval" appears 13 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 14 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 72 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "1" appears 168 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "--> index doc 1" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 34 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 23 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 24 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 16 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "--> realtime get 1" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "--> flush the index, so we load it from it" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "value1_1" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "value2_1" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "value1_2" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "value2_2" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "field" appears 48 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "15" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "9" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "11" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "type" appears 18 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 9 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 3 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 12 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 7 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "str" appears 11 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "string" appears 7 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "store" appears 10 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 14 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "strs" appears 11 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "int" appears 11 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 2 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "ints" appears 11 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "date" appears 12 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "binary" appears 12 times in the file. 259
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 267
 Warning extension MultipleStringLiteralsExtended The String "A" appears 6 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "B" appears 6 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "C" appears 6 times in the file. 267
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 269
 Warning extension MultipleStringLiteralsExtended The String "2012-11-13T15:26:14.000Z" appears 6 times in the file. 270
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 271
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 277
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 279
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 281
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 303
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 326
 Warning extension MultipleStringLiteralsExtended The String "2" appears 21 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "excluded" appears 7 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "should not be seen" appears 3 times in the file. 417
 Warning extension MultipleStringLiteralsExtended The String "includes" appears 2 times in the file. 440
 Warning extension MultipleStringLiteralsExtended The String "included" appears 9 times in the file. 440
 Warning extension MultipleStringLiteralsExtended The String "should be seen" appears 2 times in the file. 451
 Warning extension MultipleStringLiteralsExtended The String "included.field" appears 4 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "excluded.field" appears 4 times in the file. 494
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 502
 Warning extension MultipleStringLiteralsExtended The String "*.field" appears 2 times in the file. 502
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 502
 Warning extension MultipleStringLiteralsExtended The String "*.field2" appears 2 times in the file. 502
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 547
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 570
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 589
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 612
 Warning extension MultipleStringLiteralsExtended The String "VersionConflictEngineException" appears 4 times in the file. 660
 Warning extension MultipleStringLiteralsExtended The String "my-type1" appears 15 times in the file. 744
 Warning extension MultipleStringLiteralsExtended The String "_routing" appears 8 times in the file. 751
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 786
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 795
 Warning extension MultipleStringLiteralsExtended The String "my-index" appears 8 times in the file. 806
 Warning extension MultipleStringLiteralsExtended The String "my-type2" appears 5 times in the file. 808
 Warning extension MultipleStringLiteralsExtended The String "object" appears 3 times in the file. 809
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 3 times in the file. 811
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 3 times in the file. 812
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 6 times in the file. 903
 Warning extension MultipleStringLiteralsExtended The String "some_field" appears 2 times in the file. 907
 Warning extension MultipleStringLiteralsExtended The String "some text" appears 2 times in the file. 913
 Warning extension MultipleStringLiteralsExtended The String "{\n" appears 12 times in the file. 923
 Warning extension MultipleStringLiteralsExtended The String " \"settings\": {\n" appears 6 times in the file. 924
 Warning extension MultipleStringLiteralsExtended The String " \"index.translog.disable_flush\": true,\n" appears 6 times in the file. 925
 Warning extension MultipleStringLiteralsExtended The String " \"refresh_interval\": \"-1\"\n" appears 6 times in the file. 926
 Warning extension MultipleStringLiteralsExtended The String " },\n" appears 6 times in the file. 927
 Warning extension MultipleStringLiteralsExtended The String " \"mappings\": {\n" appears 6 times in the file. 928
 Warning extension MultipleStringLiteralsExtended The String " \"doc\": {\n" appears 6 times in the file. 929
 Warning extension MultipleStringLiteralsExtended The String " \"_source\": {\n" appears 3 times in the file. 930
 Warning extension MultipleStringLiteralsExtended The String "\"\n" appears 5 times in the file. 931
 Warning extension MultipleStringLiteralsExtended The String " },\n" appears 6 times in the file. 932
 Warning extension MultipleStringLiteralsExtended The String " \"properties\": {\n" appears 2 times in the file. 933
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 5 times in the file. 937
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 6 times in the file. 938
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 7 times in the file. 939
 Warning extension MultipleStringLiteralsExtended The String "}" appears 8 times in the file. 940
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 38 times in the file. 953
 Warning extension MultipleStringLiteralsExtended The String "no" appears 5 times in the file. 967
 Warning extension MultipleStringLiteralsExtended The String " \"parentdoc\": {},\n" appears 2 times in the file. 974
 Warning extension MultipleStringLiteralsExtended The String " \"enabled\": " appears 2 times in the file. 977
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 977
 Warning extension MultipleStringLiteralsExtended The String " \"store\": \"" appears 6 times in the file. 981
 Warning extension MultipleStringLiteralsExtended The String " \"_ttl\": \"1h\"\n" appears 2 times in the file. 993
 Warning extension MultipleStringLiteralsExtended The String "my_boost" appears 2 times in the file. 1012
 Warning extension MultipleStringLiteralsExtended The String "}\n" appears 4 times in the file. 1067
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 2 times in the file. 1076
 Warning extension MultipleStringLiteralsExtended The String "_size" appears 2 times in the file. 1076
 Warning extension MultipleStringLiteralsExtended The String "\",\n" appears 2 times in the file. 1112
 Warning extension MultipleStringLiteralsExtended The String " \"enabled\": true\n" appears 2 times in the file. 1113
 Warning extension MultipleStringLiteralsExtended The String "_field_names" appears 2 times in the file. 1138
 Warning extension MultipleStringLiteralsExtended The String " \"_source\" : {\"enabled\" : " appears 2 times in the file. 1174
 Warning extension MultipleStringLiteralsExtended The String "}," appears 2 times in the file. 1174
 Warning extension MultipleStringLiteralsExtended The String "token_count" appears 2 times in the file. 1194
 Warning extension MultipleStringLiteralsExtended The String "text.token_count" appears 2 times in the file. 1194
 Warning extension MultipleStringLiteralsExtended The String "murmur" appears 2 times in the file. 1194
 Warning extension MultipleStringLiteralsExtended The String "text.murmur" appears 2 times in the file. 1194
 Warning extension MultipleStringLiteralsExtended The String " \"store\": \"" appears 2 times in the file. 1234
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 4 times in the file. 1234
 Warning extension MultipleStringLiteralsExtended The String " },\n" appears 2 times in the file. 1235
 Warning extension MultipleStringLiteralsExtended The String " \"store\": \"" appears 2 times in the file. 1246
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1283
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1302
 Warning extension MultipleStringLiteralsExtended The String "You can only get this field after refresh() has been called." appears 2 times in the file. 1302
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1306
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1333
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1340

elasticsearch/src/test/java/org/elasticsearch/http/netty/NettyHttpClient.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 71
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 73

elasticsearch/src/test/java/org/elasticsearch/http/netty/NettyHttpServerPipeliningTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http.pipelining" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "/firstfast" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "/slow?sleep=500" appears 4 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "/secondfast" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "/slow?sleep=1000" appears 4 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "/thirdfast" appears 3 times in the file. 98
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 100
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 115
 Warning extension MultipleStringLiteralsExtended The String "handler" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "sleep" appears 2 times in the file. 211

elasticsearch/src/test/java/org/elasticsearch/http/netty/NettyPipeliningDisabledIntegrationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 4 times in the file. 55
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 61

elasticsearch/src/test/java/org/elasticsearch/http/netty/NettyPipeliningEnabledIntegrationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 52
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 58

elasticsearch/src/test/java/org/elasticsearch/http/netty/pipelining/HttpPipeliningHandlerTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 141
 Warning extension LogicConditionNeedOptimization Condition with && at line 199 position 41 need optimization. All method calls are advised to move to end of logic expression. 199

elasticsearch/src/test/java/org/elasticsearch/index/IndexRequestBuilderTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 16 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "test_field" appears 4 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 4 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "{\"test_field\" : \"foobar\"}" appears 4 times in the file. 45
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 56

elasticsearch/src/test/java/org/elasticsearch/index/IndexWithShadowReplicasTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "node.add_id_to_custom_path" appears 8 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "node.enable_custom_paths" appears 8 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "local" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 47 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 73 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 7 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "1" appears 15 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 33 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "2" appears 17 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "3" appears 7 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "4" appears 5 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "--> performing query" appears 7 times in the file. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 157
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 178
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 4 times in the file. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 187
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 220
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 221
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.exclude._name" appears 3 times in the file. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 243
 Warning extension MultipleStringLiteralsExtended The String "_primary" appears 2 times in the file. 250
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 253
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension MultipleStringLiteralsExtended The String "--> stopping indexing thread" appears 2 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "--> excluding {} from allocation" appears 2 times in the file. 312
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 368
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 391
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 555
 Warning extension MultipleStringLiteralsExtended The String "eggplant" appears 2 times in the file. 556

elasticsearch/src/test/java/org/elasticsearch/index/TermsFilterIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "f" appears 5 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "b" appears 4 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "Execution=" appears 2 times in the file. 54

elasticsearch/src/test/java/org/elasticsearch/index/TransportIndexFailuresTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1s" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 5 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "_only_local" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "[r]" appears 2 times in the file. 116

elasticsearch/src/test/java/org/elasticsearch/index/VersionTypeTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 32
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 33
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 35
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 36
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 37
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 38
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 41
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 43
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 44
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 47
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 48
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 54
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 56
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 76
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 78
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 79
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 80
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 86
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 89
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 90
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 91
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 108
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 113
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 114
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 116
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 148
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 152
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 154
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 161
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 166
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 167
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 177
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 180
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 184
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 189
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 190
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 192
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 193
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 194
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 195

elasticsearch/src/test/java/org/elasticsearch/index/aliases/IndexAliasesServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cats" appears 16 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "animal" appears 11 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "cat" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "dogs" appears 11 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "dog" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "all" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "feline" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "canine" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "BooleanFilter(cache(animal:canine) cache(animal:feline))" appears 2 times in the file. 79
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 98

elasticsearch/src/test/java/org/elasticsearch/index/analysis/ASCIIFoldingTokenFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_ascii_folding.type" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "asciifolding" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "my_ascii_folding" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "Ansprüche" appears 3 times in the file. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 40
 Warning extension MultipleStringLiteralsExtended The String "Anspruche" appears 2 times in the file. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53

elasticsearch/src/test/java/org/elasticsearch/index/analysis/AnalysisFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "chinese" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "classic" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "edgengram" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "ngram" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 2 times in the file. 54
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 64
 Warning extension MultipleStringLiteralsExtended The String "patternreplace" appears 2 times in the file. 127
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 177
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194

elasticsearch/src/test/java/org/elasticsearch/index/analysis/AnalysisModuleTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "org/elasticsearch/index/analysis/test1.yml" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 2 times in the file. 114
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 198

elasticsearch/src/test/java/org/elasticsearch/index/analysis/AnalysisTests.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 35
 Warning extension MultipleStringLiteralsExtended The String "stem_exclusion" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 40
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 42

elasticsearch/src/test/java/org/elasticsearch/index/analysis/AnalyzerBackwardsCompatTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 34
 Warning extension MultipleStringLiteralsExtended The String "this is bogus" appears 2 times in the file. 51
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 51
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 2 times in the file. 51
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53

elasticsearch/src/test/java/org/elasticsearch/index/analysis/CJKFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "多くの学生が試験に落ちた。" appears 4 times in the file. 38
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39
 Warning extension MultipleStringLiteralsExtended The String "多く" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "くの" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "の学" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "学生" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "生が" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "が試" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "試験" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "験に" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "に落" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "落ち" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "ちた" appears 2 times in the file. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59
 Warning extension MultipleStringLiteralsExtended The String "多" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "く" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "の" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "が" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "に" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "落" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "ち" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "た" appears 2 times in the file. 59
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69

elasticsearch/src/test/java/org/elasticsearch/index/analysis/CharFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.custom_with_char_filter.tokenizer" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.custom_with_char_filter.char_filter" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "custom_with_char_filter" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "jeff quit phish" appears 2 times in the file. 64
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 64
 Warning extension MultipleStringLiteralsExtended The String "jeff" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "qit" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "fish" appears 2 times in the file. 64
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 67
 Warning extension MultipleStringLiteralsExtended The String "<b>hello</b>!" appears 2 times in the file. 89
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 89
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 2 times in the file. 89
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 92

elasticsearch/src/test/java/org/elasticsearch/index/analysis/CompoundAnalysisTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 58
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 75

elasticsearch/src/test/java/org/elasticsearch/index/analysis/HunspellTokenFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "path.conf" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "/indices/analyze/conf_dir" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.en_US.type" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "hunspell" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.en_US.locale" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "en_US" appears 4 times in the file. 38

elasticsearch/src/test/java/org/elasticsearch/index/analysis/KeepFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "keep" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "does/not/exists.txt" appears 2 times in the file. 53
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 59
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 74
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 79
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 85
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 97
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 99
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 108
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 110

elasticsearch/src/test/java/org/elasticsearch/index/analysis/KeepTypesFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 46
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 48

elasticsearch/src/test/java/org/elasticsearch/index/analysis/LimitTokenCountFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "limit" appears 5 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "the quick brown fox" appears 5 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "the" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.limit_1.type" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.limit_1.max_token_count" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.limit_1.consume_all_tokens" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "limit_1" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "quick" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "brown" appears 3 times in the file. 63

elasticsearch/src/test/java/org/elasticsearch/index/analysis/NGramTokenizerFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "ngr" appears 7 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "min_gram" appears 14 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "max_gram" appears 14 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "token_chars" appears 9 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "1.34" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "letter,digit" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Åbc déf g\uD801\uDC00f " appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "Åb" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "Åbc" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "dé" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "déf" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "g\uD801\uDC00" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "g\uD801\uDC00f" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "letter,digit,punctuation,whitespace,symbol" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String " a!$ 9" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String " a" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String " a!" appears 2 times in the file. 93
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 120
 Warning extension MultipleStringLiteralsExtended The String "version" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "4." appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "side" appears 5 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "back" appears 5 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 7 times in the file. 127
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 162
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 195

elasticsearch/src/test/java/org/elasticsearch/index/analysis/PatternCaptureTokenFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "foobarbaz" appears 3 times in the file. 59
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "abc123def" appears 2 times in the file. 63
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 63
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 67
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 71

elasticsearch/src/test/java/org/elasticsearch/index/analysis/PreBuiltAnalyzerProviderFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 3 times in the file. 38

elasticsearch/src/test/java/org/elasticsearch/index/analysis/PreBuiltAnalyzerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "This is it Dude" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "this" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "is" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "it" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "dude" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 161

elasticsearch/src/test/java/org/elasticsearch/index/analysis/PreBuiltCharFilterFactoryFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "html_strip" appears 3 times in the file. 40

elasticsearch/src/test/java/org/elasticsearch/index/analysis/PreBuiltTokenFilterFactoryFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "word_delimiter" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "stop" appears 3 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/index/analysis/PreBuiltTokenizerFactoryFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 3 times in the file. 40

elasticsearch/src/test/java/org/elasticsearch/index/analysis/ShingleTokenFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "the quick brown fox" appears 2 times in the file. 45
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 46
 Warning extension MultipleStringLiteralsExtended The String "the" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "the quick" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "quick" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "shingle_inverse" appears 2 times in the file. 54
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 57
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 68
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 78

elasticsearch/src/test/java/org/elasticsearch/index/analysis/StemmerTokenFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "stemmer" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "my_english" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "consolingly" appears 2 times in the file. 66
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 66
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69
 Warning extension MultipleStringLiteralsExtended The String "my_porter2" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "possibly" appears 2 times in the file. 97
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 97
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 99

elasticsearch/src/test/java/org/elasticsearch/index/analysis/StopAnalyzerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "to be or not to be" appears 2 times in the file. 57

elasticsearch/src/test/java/org/elasticsearch/index/analysis/StopTokenFilterTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 43
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_stop.type" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "stop" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_stop.enable_position_increments" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_stop.version" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "my_stop" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 2 times in the file. 72

elasticsearch/src/test/java/org/elasticsearch/index/analysis/WordDelimiterTokenFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_word_delimiter.type" appears 9 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "word_delimiter" appears 9 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "my_word_delimiter" appears 9 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "PowerShot 500-42 wi-fi wi-fi-4000 j2se O'Neil's" appears 6 times in the file. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 41
 Warning extension MultipleStringLiteralsExtended The String "Power" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "Shot" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "500" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "42" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "wi" appears 8 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "fi" appears 8 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "4000" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "j" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "se" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "O" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "Neil" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_word_delimiter.catenate_words" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "true" appears 8 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_word_delimiter.generate_word_parts" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "false" appears 6 times in the file. 51
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 55
 Warning extension MultipleStringLiteralsExtended The String "PowerShot" appears 9 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "wifi" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "ONeil" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_word_delimiter.generate_number_parts" appears 2 times in the file. 64
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 69
 Warning extension MultipleStringLiteralsExtended The String "50042" appears 2 times in the file. 69
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 84
 Warning extension MultipleStringLiteralsExtended The String "j2se" appears 2 times in the file. 84
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 97
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 110
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 123
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 138
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 155

elasticsearch/src/test/java/org/elasticsearch/index/analysis/commongrams/CommonGramsTokenFilterFactoryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_default.type" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "common_grams" appears 10 times in the file. 43
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 48
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_default.common_words" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "chromosome" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "protein" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "common_grams_default" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "the quick brown is a fox Or noT" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "the" appears 16 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "quick" appears 11 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "brown" appears 7 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "is" appears 16 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "a" appears 14 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "fox" appears 10 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Or" appears 9 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "noT" appears 9 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_1.type" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_1.ignore_case" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_1.common_words" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "Not" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "an" appears 7 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "they" appears 7 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "are" appears 7 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "common_grams_1" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "the quick brown is a fox or noT" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "the_quick" appears 7 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "brown_is" appears 11 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "is_a" appears 7 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "a_fox" appears 11 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "fox_or" appears 6 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "or" appears 10 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "or_noT" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_2.type" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_2.ignore_case" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_2.common_words" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "common_grams_2" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "the quick brown is a fox or why noT" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "why_noT" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_3.type" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.common_grams_3.common_words" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "not" appears 6 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "common_grams_3" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "commongramsAnalyzer" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "the quick brown is a fox or not" appears 4 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "quick_brown" appears 4 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "commongramsAnalyzer_file" appears 2 times in the file. 136

elasticsearch/src/test/java/org/elasticsearch/index/analysis/synonyms/SynonymsAnalysisTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "kimchy is the dude abides" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "shay is the elasticsearch man!" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "abstain" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "abstain refrain desist" appears 2 times in the file. 84

elasticsearch/src/test/java/org/elasticsearch/index/cache/fixedbitset/FixedBitSetFilterCacheTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/index/cache/query/parser/resident/ResidentQueryParserCacheTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 44

elasticsearch/src/test/java/org/elasticsearch/index/codec/CodecTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "default" appears 10 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Lucene410" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Lucene41" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "BloomFilter" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "type" appears 8 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 6 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "postings_format" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 5 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "my_format1" appears 2 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "doc_values_format" appears 3 times in the file. 145

elasticsearch/src/test/java/org/elasticsearch/index/engine/InternalEngineIntegrationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 41

elasticsearch/src/test/java/org/elasticsearch/index/engine/InternalEngineMergeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "numshards {}, segments {}, total merges {}, current merge {}" appears 2 times in the file. 81

elasticsearch/src/test/java/org/elasticsearch/index/engine/InternalEngineSettingsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 12 times in the file. 34
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 35
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension MultipleStringLiteralsExtended The String "settings update didn't fail, but should have" appears 3 times in the file. 125

elasticsearch/src/test/java/org/elasticsearch/index/engine/InternalEngineTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "work/fs-translog/JVM_" appears 2 times in the file. 108
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 117
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 118
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 120
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 121
 Warning extension MultipleStringLiteralsExtended The String "value" appears 27 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "test" appears 120 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 2 times in the file. 209
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 230
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 276
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 289
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 289
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 290
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 290
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 291
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 291
 Warning extension MultipleStringLiteralsExtended The String "1" appears 174 times in the file. 302
 Warning extension MultipleStringLiteralsExtended The String "2" appears 20 times in the file. 305
 Warning extension MultipleStringLiteralsExtended The String "3" appears 7 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "4" appears 4 times in the file. 373
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 440
 Warning extension MoveVariableInsideIf Variable 'gen2' can be moved inside the block at line '449' to restrict runtime creation. 443
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 11 times in the file. 502
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 663
 Warning extension MultipleStringLiteralsExtended The String "Foo" appears 3 times in the file. 663
 Warning extension IllegalCatchExtended Catching 'RuntimeException' is not allowed. 682
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 685
 Warning extension RedundantReturn Redundant return. 1053
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1119
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1176
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1243
 Warning extension MultipleStringLiteralsExtended The String "excepted VersionConflictEngineException to be thrown" appears 2 times in the file. 1287
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1308
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1312
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1318
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1326
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1334
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1382
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1388
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1417
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1418
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1424
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1425
 Warning extension MultipleStringLiteralsExtended The String "did not hit expected exception" appears 2 times in the file. 1470
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1517
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1527
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1560
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1561
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1562
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1563
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 1650

elasticsearch/src/test/java/org/elasticsearch/index/engine/ShadowEngineTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 99
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 100
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 102
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 103
 Warning extension MultipleStringLiteralsExtended The String "value" appears 42 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "test" appears 100 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 2 times in the file. 181
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 203
 Warning extension MultipleStringLiteralsExtended The String "work/fs-translog/" appears 2 times in the file. 215
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 258
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 275
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 275
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 276
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 276
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Method(.*)'. 277
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 277
 Warning extension MultipleStringLiteralsExtended The String "1" appears 57 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "4" appears 3 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "should have thrown an exception" appears 3 times in the file. 435
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 14 times in the file. 450
 Warning extension MultipleStringLiteralsExtended The String "exception expected" appears 2 times in the file. 791
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 792
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 830
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 840
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 888

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/AbstractFieldDataImplTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 13 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "03" appears 2 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "04" appears 2 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "06" appears 2 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "08" appears 2 times in the file. 249

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/AbstractNumericFieldDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value" appears 24 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "_first" appears 4 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 3 times in the file. 307

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/AbstractStringFieldDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 26 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "1" appears 11 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "value" appears 40 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "2" appears 11 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "3" appears 10 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "4" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "02" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "04" appears 4 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "03" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "05" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "06" appears 4 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "07" appears 3 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "08" appears 6 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "09" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "10" appears 4 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "!08" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "!09" appears 2 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "!10" appears 2 times in the file. 205
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 249
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 251
 Warning extension MultipleStringLiteralsExtended The String "_first" appears 3 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "_last" appears 3 times in the file. 295
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 298
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 309
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 311
 Warning extension MultipleStringLiteralsExtended The String "text" appears 5 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 348
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "global_values" appears 2 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "fixed" appears 2 times in the file. 445

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/BinaryDVFieldDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "field" appears 5 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "binary" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 2 times in the file. 46

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/DisabledFieldDataFormatTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "type" appears 6 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "s" appears 8 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "disabled" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "t" appears 4 times in the file. 54

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/DoubleFieldDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 23 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "value" appears 29 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "3" appears 5 times in the file. 82

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/DuelFieldDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 22 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "bytes" appears 7 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "string" appears 11 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 14 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "format" appears 50 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 30 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "fst" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 10 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "short" appears 10 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "long" appears 10 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "float" appears 10 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "double" appears 10 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "paged_bytes" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "array" appears 13 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "int" appears 4 times in the file. 95
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 153
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 236
 Warning extension MultipleStringLiteralsExtended The String "geopoint" appears 2 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 4 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 2 times in the file. 424
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 2 times in the file. 424
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 477
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 482
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 482
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 533
 Warning extension MultipleStringLiteralsExtended The String "Couldn't find " appears 2 times in the file. 590
 Warning extension MultipleStringLiteralsExtended The String " among " appears 2 times in the file. 590
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 623

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/FieldDataBackwardCompatibilityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "f" appears 2 times in the file. 40
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 47

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/FieldDataFilterIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "not_filtered" appears 5 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "bacon bastards" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "bacon" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "bastards" appears 2 times in the file. 85

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/FieldDataLoadingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "type" appears 8 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "loading" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 45

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/FilterFieldDataTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "high_freq" appears 11 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "100" appears 8 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "med_freq" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "10" appears 7 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "5" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "fst" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "paged_bytes" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "string" appears 7 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "format" appears 7 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "filter.frequency.min_segment_size" appears 5 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "filter.frequency.min" appears 5 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "filter.frequency.max" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "filter.regex.pattern" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 153

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/FloatFieldDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 23 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "value" appears 29 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "3" appears 5 times in the file. 81

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/IndexFieldDataServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 61
 Warning extension MultipleStringLiteralsExtended The String "int" appears 6 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension MultipleStringLiteralsExtended The String "float" appears 2 times in the file. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 85
 Warning extension MultipleStringLiteralsExtended The String "double" appears 2 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 94
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "fst" appears 2 times in the file. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension MultipleStringLiteralsExtended The String "s" appears 3 times in the file. 136

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/LongFieldDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 26 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "value" appears 35 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "2" appears 7 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "3" appears 5 times in the file. 124
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 236

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/ParentChildFieldDataTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_parent" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "type=" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "1" appears 17 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "2" appears 14 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 97
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 179
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 242

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/ScriptDocValuesTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 82

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/fieldcomparator/ReplaceMissingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "cat" appears 7 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "dog" appears 7 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "apple" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "company" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "ebay" appears 2 times in the file. 97

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/ordinals/MultiOrdinalsTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 207
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 260

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/ordinals/SingleOrdinalsTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 40
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 66

elasticsearch/src/test/java/org/elasticsearch/index/fielddata/plain/ParentChildFilteredTermsEnumTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 4 times in the file. 53
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 98

elasticsearch/src/test/java/org/elasticsearch/index/mapper/FileBasedMappingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "type.json" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "type" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "f" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "g" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "h" appears 2 times in the file. 90

elasticsearch/src/test/java/org/elasticsearch/index/mapper/TransformOnIndexMapperIntegrationTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 22 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "destination" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "findme" appears 12 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "righttitle" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "content" appears 7 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "suggest" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "transform" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "script" appears 3 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "lang" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "title" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "sourceField" appears 2 times in the file. 160

elasticsearch/src/test/java/org/elasticsearch/index/mapper/UidTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 31
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 31

elasticsearch/src/test/java/org/elasticsearch/index/mapper/all/SimpleAllMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/all/mapping.json" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "test" appears 26 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/all/test1.json" appears 9 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 21 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "address.last.location" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "name.last" appears 7 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "simple1" appears 7 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 7 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/all/noboost-mapping.json" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/all/store-mapping.json" appears 2 times in the file. 180
 Warning extension MoveVariableInsideIf Variable 'booleanOptionList' can be moved inside the block at line '233' to restrict runtime creation. 231
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 264
 Warning extension MultipleStringLiteralsExtended The String "TF/IDF" appears 2 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 5 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 3 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "Elasticsearch rules!" appears 2 times in the file. 345
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 376
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 383
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 390
 Warning extension MultipleStringLiteralsExtended The String "{\"enabled\" : true}" appears 3 times in the file. 417
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "\"standard\"" appears 3 times in the file. 422
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 2 times in the file. 429

elasticsearch/src/test/java/org/elasticsearch/index/mapper/analyzer/AnalyzerMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "type" appears 17 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "_analyzer" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "path" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "field_analyzer" appears 11 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 15 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "string" appears 8 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 15 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 9 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 12 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 6 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 6 times in the file. 56
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 76
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 104
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 119
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 130
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 146
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 161

elasticsearch/src/test/java/org/elasticsearch/index/mapper/binary/BinaryMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 40

elasticsearch/src/test/java/org/elasticsearch/index/mapper/boost/BoostMappingIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "_boost" appears 6 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "store" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 43
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 46

elasticsearch/src/test/java/org/elasticsearch/index/mapper/boost/BoostMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 9 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "_boost" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "field" appears 7 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "custom_boost" appears 2 times in the file. 58

elasticsearch/src/test/java/org/elasticsearch/index/mapper/boost/CustomBoostMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 10 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "s_field" appears 3 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "l_field" appears 3 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "norms" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 7 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "i_field" appears 3 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "sh_field" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "b_field" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "d_field" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "f_field" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "date_field" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "value" appears 8 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "boost" appears 8 times in the file. 48

elasticsearch/src/test/java/org/elasticsearch/index/mapper/boost/FieldLevelBoostTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "str_field" appears 5 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "type" appears 16 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "int_field" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "norms" appears 14 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 14 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "byte_field" appears 5 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "date_field" appears 5 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "date" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "double_field" appears 5 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "double" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "float_field" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "float" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "long_field" appears 5 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "short_field" appears 5 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "short" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 9 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "boost" appears 8 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "value" appears 8 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 8 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 8 times in the file. 104

elasticsearch/src/test/java/org/elasticsearch/index/mapper/camelcase/CamelCaseFieldNameTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "thisIsCamelCase" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "this_is_camel_case" appears 2 times in the file. 50

elasticsearch/src/test/java/org/elasticsearch/index/mapper/completion/CompletionFieldMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "completion" appears 11 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "index_analyzer" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "search_analyzer" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "payloads" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "preserve_separators" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "preserve_position_increments" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "max_input_length" appears 2 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/index/mapper/compound/CompoundTypesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 10 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 6 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 6 times in the file. 46

elasticsearch/src/test/java/org/elasticsearch/index/mapper/copyto/CopyToMapperIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test-idx" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "test_field" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "even" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "test_raw" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "match" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "match_mapping_type" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "mapping" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 83

elasticsearch/src/test/java/org/elasticsearch/index/mapper/copyto/CopyToMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 8 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 9 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "copy_test" appears 18 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "type" appears 17 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "string" appears 8 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "copy_to" appears 9 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "another_field" appears 7 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "cyclic_test" appears 7 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "int_to_str_test" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "new_field" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 11 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 8 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "very.inner.field" appears 4 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "object" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 3 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "n1" appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 2 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "n2" appears 3 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "source" appears 4 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 244
 Warning extension MultipleStringLiteralsExtended The String "target" appears 8 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "n1.target" appears 7 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "n1.n2.target" appears 7 times in the file. 248

elasticsearch/src/test/java/org/elasticsearch/index/mapper/core/TokenCountFieldMapperIntegrationTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 57
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 60
 Warning extension MultipleStringLiteralsExtended The String "single" appears 7 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "bulk1" appears 6 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "bulk2" appears 6 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "multi" appears 7 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "multibulk1" appears 7 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "multibulk2" appears 8 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "foo.token_count" appears 6 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "foo.token_count_unstored" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "foo.token_count_with_doc_values" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "store" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "token_count" appears 4 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 3 times in the file. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 146
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 151

elasticsearch/src/test/java/org/elasticsearch/index/mapper/core/TokenCountFieldMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "tc" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "token_count" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "keyword" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 2 times in the file. 61

elasticsearch/src/test/java/org/elasticsearch/index/mapper/date/SimpleDateMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 32 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 9 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "1" appears 11 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "date_field1" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "date_field2" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "wrong_date1" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "wrong_date2" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "wrong_date3" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "de" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "DE" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "date_field_default" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "date" appears 12 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "format" appears 9 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "E, d MMM yyyy HH:mm:ss Z" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "date_field_en" appears 4 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "locale" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "date_field_de" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "Wed, 06 Dec 2000 02:55:00 -0800" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "date_field" appears 14 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "date_detection" appears 3 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "2010-01-01" appears 4 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "date_field_x" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "10:00:00" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "Jan 02 10:00:00" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "ignore_malformed" appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 5 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 4 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "a" appears 5 times in the file. 283
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 290
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 301
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 322
 Warning extension MultipleStringLiteralsExtended The String "field" appears 9 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "EEE MMM dd HH:mm:ss.S Z yyyy||EEE MMM dd HH:mm:ss.SSS Z yyyy" appears 2 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "EEE MMM dd HH:mm:ss.S Z yyyy||EEE MMM dd HH:mm:ss.SSS Z yyyy||yyyy-MM-dd'T'HH:mm:ss.SSSZZ" appears 2 times in the file. 347

elasticsearch/src/test/java/org/elasticsearch/index/mapper/dynamic/DynamicMappingIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_default_" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "index" appears 7 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 42
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 66

elasticsearch/src/test/java/org/elasticsearch/index/mapper/dynamic/DynamicMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 28 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "dynamic" appears 7 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 8 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 13 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "string" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "test" appears 29 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 9 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 8 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 6 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "false" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "strict" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "obj1" appears 4 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "empty_field" appears 2 times in the file. 171
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 173
 Warning extension MultipleStringLiteralsExtended The String "_default_" appears 4 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "test_string" appears 2 times in the file. 210

elasticsearch/src/test/java/org/elasticsearch/index/mapper/dynamictemplate/genericstore/GenericStoreDynamicTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "age" appears 3 times in the file. 55

elasticsearch/src/test/java/org/elasticsearch/index/mapper/dynamictemplate/pathmatch/PathMatchDynamicTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "obj1.name" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "obj1.obj2.name" appears 3 times in the file. 63

elasticsearch/src/test/java/org/elasticsearch/index/mapper/dynamictemplate/simple/SimpleDynamicTemplatesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "s" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "l" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/dynamictemplate/simple/test-mapping.json" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/dynamictemplate/simple/test-data.json" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "name" appears 6 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "some name" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "multi1" appears 6 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "multi 1" appears 4 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "multi1.org" appears 6 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "multi2" appears 6 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "multi 2" appears 4 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "multi2.org" appears 6 times in the file. 108

elasticsearch/src/test/java/org/elasticsearch/index/mapper/externalvalues/ExternalMapper.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 141
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 142
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 144
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 145
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 146
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 147
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 148
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 150

elasticsearch/src/test/java/org/elasticsearch/index/mapper/externalvalues/ExternalValuesMapperIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test-idx" appears 11 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "type" appears 7 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "f" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "stored" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 2 times in the file. 102

elasticsearch/src/test/java/org/elasticsearch/index/mapper/externalvalues/SimpleExternalMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 9 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "type" appears 15 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "field" appears 8 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "field.bool" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "T" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "field.point" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "42.0,51.0" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "field.shape" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "field.field" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "string" appears 5 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "stored" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "raw" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "field.field.raw" appears 4 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "field.field.generated.generated" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "field.raw" appears 2 times in the file. 179

elasticsearch/src/test/java/org/elasticsearch/index/mapper/geo/GeoMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 6 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "pin" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "compressed" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "precision" appears 3 times in the file. 44

elasticsearch/src/test/java/org/elasticsearch/index/mapper/geo/GeoPointFieldMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 67 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 19 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "point" appears 64 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 20 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "lat_lon" appears 19 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "test" appears 18 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "1" appears 27 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 18 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 18 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "point.lat" appears 24 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "point.lon" appears 24 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "point.geohash" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "1.2,1.3" appears 14 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "geohash" appears 6 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "normalize" appears 3 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "validate" appears 5 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "store" appears 6 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 6 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "1.4,1.5" appears 4 times in the file. 317

elasticsearch/src/test/java/org/elasticsearch/index/mapper/geo/GeoShapeFieldMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 11 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 14 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "location" appears 22 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "type" appears 17 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "geo_shape" appears 14 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "orientation" appears 5 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "tree" appears 10 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "geohash" appears 5 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "tree_levels" appears 8 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "distance_error_pct" appears 11 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "quadtree" appears 5 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "6" appears 3 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "0.5" appears 7 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "precision" appears 7 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "70m" appears 4 times in the file. 161
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 176
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 200
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 273
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 295
 Warning extension MultipleStringLiteralsExtended The String "shape" appears 5 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "strategy" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "1m" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "cw" appears 2 times in the file. 311

elasticsearch/src/test/java/org/elasticsearch/index/mapper/geo/GeohashMappingGeoPointTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 16 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "point" appears 16 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "lat_lon" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "point.lat" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "point.lon" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1.2,1.3" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "geohash_precision" appears 2 times in the file. 99

elasticsearch/src/test/java/org/elasticsearch/index/mapper/id/IdMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 8 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "my_path" appears 2 times in the file. 100

elasticsearch/src/test/java/org/elasticsearch/index/mapper/index/IndexTypeMapperIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_index" appears 3 times in the file. 45

elasticsearch/src/test/java/org/elasticsearch/index/mapper/index/IndexTypeMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 10 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "_index" appears 10 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 6 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "store" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "field" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 50

elasticsearch/src/test/java/org/elasticsearch/index/mapper/internal/FieldNamesFieldMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_field_names" appears 9 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "a" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "a.b" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "a.b.c" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String ".a" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "a." appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String ".." appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type" appears 12 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "_type" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "_version" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 4 times in the file. 83
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 91
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 168

elasticsearch/src/test/java/org/elasticsearch/index/mapper/ip/SimpleIpMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 12 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 8 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "127.0.0.1" appears 2 times in the file. 53
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 57
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 63
 Warning extension MultipleStringLiteralsExtended The String "Expected ip address parsing to fail but did not happen" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "ignore_malformed" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 5 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 4 times in the file. 90
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 100
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 107
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 120

elasticsearch/src/test/java/org/elasticsearch/index/mapper/lucene/DoubleIndexingDocTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "2010-01-01" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "field5" appears 4 times in the file. 57

elasticsearch/src/test/java/org/elasticsearch/index/mapper/lucene/StoredNumericValuesTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 8 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "store" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 8 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 14 times in the file. 61

elasticsearch/src/test/java/org/elasticsearch/index/mapper/merge/TestMergeMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 9 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "type" appears 14 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "string" appears 6 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "age" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "obj1.prop1" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "obj" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "field" appears 9 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "search_analyzer" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 5 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "keyword" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "Lucene41" appears 2 times in the file. 132

elasticsearch/src/test/java/org/elasticsearch/index/mapper/multifield/MultiFieldTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/multifield/test-data.json" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "name" appears 16 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "some name" appears 8 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "name.indexed" appears 16 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "name.not_indexed" appears 16 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "object1.multi1" appears 4 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "object1.multi1.string" appears 6 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "name.test1" appears 6 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "name.test2" appears 7 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "age" appears 6 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "age.not_stored" appears 7 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "age.stored" appears 7 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "a" appears 16 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "a.b" appears 14 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 5 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "-1,-1" appears 4 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "-1.0,-1.0" appears 3 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "b" appears 21 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "b.a" appears 16 times in the file. 293
 Warning extension MultipleStringLiteralsExtended The String "complete me" appears 6 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "type" appears 6 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "my_field" appears 2 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 430
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 457
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 471

elasticsearch/src/test/java/org/elasticsearch/index/mapper/multifield/MultiFieldsIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "my-index" appears 32 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "my-type" appears 24 times in the file. 50
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 57
 Warning extension MultipleStringLiteralsExtended The String "properties.title.fields" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 16 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "index" appears 10 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "title" appears 8 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Multi fields" appears 3 times in the file. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 87
 Warning extension MultipleStringLiteralsExtended The String "uncased" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 2 times in the file. 109
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 116
 Warning extension MultipleStringLiteralsExtended The String "properties.a" appears 4 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "type" appears 21 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 10 times in the file. 119
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 121
 Warning extension MultipleStringLiteralsExtended The String "properties.a.fields.b" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "string" appears 13 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "a" appears 7 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "51,19" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "a.b" appears 4 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 6 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "token_count" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 145
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 159
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 164
 Warning extension MultipleStringLiteralsExtended The String "my tokens" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "completion" appears 2 times in the file. 178
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 185
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 190
 Warning extension MultipleStringLiteralsExtended The String "complete me" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 2 times in the file. 204
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 211
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 216
 Warning extension MultipleStringLiteralsExtended The String "127.0.0.1" appears 2 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "multi_field" appears 2 times in the file. 261

elasticsearch/src/test/java/org/elasticsearch/index/mapper/multifield/merge/JavaMultiFieldMergeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/multifield/merge/test-mapping1.json" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "name" appears 18 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "name.indexed" appears 12 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/multifield/merge/test-data.json" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "name.not_indexed" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "name.not_indexed2" appears 6 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "name.not_indexed3" appears 6 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "mapper [name] has different index values" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "mapper [name] has different store values" appears 2 times in the file. 182

elasticsearch/src/test/java/org/elasticsearch/index/mapper/nested/NestedMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 28 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 12 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "nested1" appears 21 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 12 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "1" appears 23 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "field" appears 42 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "value" appears 16 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 14 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 19 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "2" appears 14 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "nested1.field1" appears 25 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "nested1.field2" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "3" appears 10 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "4" appears 12 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "nested2" appears 12 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "nested1.nested2" appears 4 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "5" appears 10 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "6" appears 8 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "nested1.nested2.field2" appears 28 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "include_in_parent" appears 3 times in the file. 167

elasticsearch/src/test/java/org/elasticsearch/index/mapper/null_value/NullValueTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 44

elasticsearch/src/test/java/org/elasticsearch/index/mapper/numeric/SimpleNumericTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 55 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "numeric_detection" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "1" appears 24 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "s_long" appears 4 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "100" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "s_double" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "100.0" appears 5 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 7 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 8 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "ignore_malformed" appears 6 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 5 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "a" appears 5 times in the file. 105
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 112
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 123
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 144
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 157
 Warning extension MultipleStringLiteralsExtended The String "long" appears 11 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "short" appears 9 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "noErrorNoCoerceField" appears 9 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "coerce" appears 3 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "noErrorCoerceField" appears 9 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "errorDefaultCoerce" appears 9 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "errorNoCoerce" appears 3 times in the file. 168
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 216
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 242
 Warning extension MultipleStringLiteralsExtended The String "int" appears 12 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 4 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "format" appears 4 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 4 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "double" appears 18 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 4 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 3 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "date" appears 10 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "2010-01-01" appears 3 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "float" appears 8 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 8 times in the file. 380
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 8 times in the file. 386
 Warning extension MultipleStringLiteralsExtended The String "5000" appears 2 times in the file. 399
 Warning extension MultipleStringLiteralsExtended The String "34.545" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "1645" appears 2 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "50" appears 2 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "255.255.255.255" appears 2 times in the file. 404
 Warning extension MultipleStringLiteralsExtended The String "precision_step" appears 8 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "2" appears 4 times in the file. 434

elasticsearch/src/test/java/org/elasticsearch/index/mapper/object/NullValueObjectMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "obj1" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 6 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 6 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/index/mapper/object/SimpleObjectMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 7 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String " {\n" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "tweet" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "name" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "string" appears 8 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "analyzed" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 5 times in the file. 76
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 86
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 97
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 122

elasticsearch/src/test/java/org/elasticsearch/index/mapper/parent/ParentMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 11 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "_parent" appears 10 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "1122" appears 9 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "x_field" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "x_value" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "p_type" appears 6 times in the file. 58

elasticsearch/src/test/java/org/elasticsearch/index/mapper/path/PathMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "first1" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "name1.first1" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "last1" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "i_last_1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "name1.last1" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "name1.i_last_1" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "first2" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "name2.first2" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "last2" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "i_last_2" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "name2.i_last_2" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "name2.last2" appears 2 times in the file. 54

elasticsearch/src/test/java/org/elasticsearch/index/mapper/routing/RoutingTypeMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "routing_value" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "_routing" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "store" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "no" appears 5 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "route" appears 2 times in the file. 63

elasticsearch/src/test/java/org/elasticsearch/index/mapper/simple/SimpleMapperTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "person" appears 9 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "first" appears 8 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/simple/test1.json" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "shay" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/mapper/simple/test-mapping.json" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 4 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 87

elasticsearch/src/test/java/org/elasticsearch/index/mapper/size/SizeMappingIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "mytype" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "_size" appears 5 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 4 times in the file. 42
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'enabled'. 84

elasticsearch/src/test/java/org/elasticsearch/index/mapper/size/SizeMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 10 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "_size" appears 11 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 5 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 47

elasticsearch/src/test/java/org/elasticsearch/index/mapper/source/CompressSourceMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 7 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 7 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "compress" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 6 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "value2 xxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyy zzzzzzzzzzzzzzzzz" appears 4 times in the file. 87

elasticsearch/src/test/java/org/elasticsearch/index/mapper/source/DefaultSourceMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 13 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 15 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "test" appears 12 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "field" appears 6 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "json" appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "includes" appears 5 times in the file. 119
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 119
 Warning extension MultipleStringLiteralsExtended The String "path1" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "path2" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 6 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "my_type" appears 29 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "default_field_path." appears 6 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "custom_field_path." appears 6 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 232

elasticsearch/src/test/java/org/elasticsearch/index/mapper/string/SimpleStringMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 48 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 13 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "field" appears 33 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "string" appears 23 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "1" appears 12 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 15 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "index" appears 5 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 5 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "norms" appears 3 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 3 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 10 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "position_offset_gap" appears 6 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 10 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 2 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 5 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 8 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "index_analyzer" appears 2 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "search_analyzer" appears 3 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 6 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 8 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "search_quote_analyzer" appears 5 times in the file. 248
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 256
 Warning extension MultipleStringLiteralsExtended The String "term_vector" appears 6 times in the file. 302
 Warning extension MultipleStringLiteralsExtended The String "field5" appears 6 times in the file. 316
 Warning extension MultipleStringLiteralsExtended The String "field6" appears 6 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "anything" appears 6 times in the file. 375
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 377
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 377
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 381
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 382
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 383
 Warning extension MultipleStringLiteralsExtended The String "str1" appears 3 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 390
 Warning extension MultipleStringLiteralsExtended The String "str2" appears 3 times in the file. 393
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 461
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 463
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 474
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 476
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 477
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 477

elasticsearch/src/test/java/org/elasticsearch/index/mapper/timestamp/TimestampMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 42 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "test" appears 39 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 34 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 23 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 20 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "store" appears 12 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "index" appears 10 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "no" appears 8 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "path" appears 12 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 7 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "format" appears 11 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "year" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 8 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "Lucene410" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "ignore_missing" appears 3 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 11 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 9 times in the file. 165
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 174
 Warning extension MultipleStringLiteralsExtended The String "timestamp is required by mapping" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "default" appears 12 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "1970-01-01" appears 7 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "YYYY-MM-dd" appears 6 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "now" appears 4 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "we should reject the mapping with a TimestampParsingException: default timestamp can not be set to null" appears 2 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "default timestamp can not be set to null" appears 2 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 3 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 6 times in the file. 479
 Warning extension MultipleStringLiteralsExtended The String "loading" appears 2 times in the file. 479
 Warning extension MultipleStringLiteralsExtended The String "array" appears 3 times in the file. 487
 Warning extension MultipleStringLiteralsExtended The String "analyzed" appears 4 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 507
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 2 times in the file. 520
 Warning extension MultipleStringLiteralsExtended The String "mapper [_timestamp] has different index values" appears 2 times in the file. 567
 Warning extension MultipleStringLiteralsExtended The String "mapper [_timestamp] has different tokenize values" appears 2 times in the file. 567
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 574
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 647

elasticsearch/src/test/java/org/elasticsearch/index/mapper/ttl/TTLMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 70 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "field" appears 9 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "_ttl" appears 14 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "store" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "no" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 7 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "string" appears 7 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "default" appears 4 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "testindex" appears 25 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "7d" appears 8 times in the file. 194
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 196
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 204
 Warning extension MultipleStringLiteralsExtended The String "6m" appears 2 times in the file. 211
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 213
 Warning extension MultipleStringLiteralsExtended The String "{\"type\":{\"_ttl\":{\"enabled\":false},\"properties\":{\"field\":{\"type\":\"string\"}}}}" appears 2 times in the file. 223
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension MultipleStringLiteralsExtended The String "6d" appears 3 times in the file. 235
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension MultipleStringLiteralsExtended The String "{\"type\":{\"_ttl\":{\"enabled\":true,\"default\":604800000},\"properties\":{\"field\":{\"type\":\"string\"}}}}" appears 2 times in the file. 278
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 285

elasticsearch/src/test/java/org/elasticsearch/index/mapper/typelevels/ParseDocumentTypeLevelsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 35 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 14 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 20 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 14 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 20 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "inner" appears 10 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "inner_field" appears 10 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "inner_value" appears 19 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "inner.inner_field" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "type.test1" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type.test2" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "type.inner.inner_field" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "value_type" appears 8 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "type.type" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "type_field" appears 4 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "type_value" appears 8 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "type.type_field" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "type.type.type_field" appears 2 times in the file. 151

elasticsearch/src/test/java/org/elasticsearch/index/mapper/typelevels/ParseMappingTypeLevelTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 37

elasticsearch/src/test/java/org/elasticsearch/index/mapper/update/UpdateMappingOnClusterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 12 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "type" appears 11 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "mappings" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 9 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 11 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "_default_" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 6 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension MultipleStringLiteralsExtended The String "doc_all_enabled" appears 3 times in the file. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 107
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 10 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "format" appears 8 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 5 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "[_all] is always tokenized and cannot have doc values" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 6 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "loading" appears 4 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "lazy" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "store" appears 6 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 3 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "eager" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "array" appears 3 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "path" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 223

elasticsearch/src/test/java/org/elasticsearch/index/mapper/update/UpdateMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 14 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 20 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 9 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "text" appears 8 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "type" appears 40 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "string" appears 9 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "store" appears 5 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "fst" appears 3 times in the file. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 132
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 137
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 159
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 164
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension MultipleStringLiteralsExtended The String "_size" appears 4 times in the file. 175
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 183
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 3 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 7 times in the file. 203
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218

elasticsearch/src/test/java/org/elasticsearch/index/merge/policy/MergePolicySettingsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "true" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "True" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "False" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "false" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "exception expected" appears 3 times in the file. 95
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 174
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 176
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 216
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 218
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 231
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 248

elasticsearch/src/test/java/org/elasticsearch/index/query/IndexQueryParserFilterCachingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "now" appears 24 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "now/d" appears 24 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "2012-01-01" appears 24 times in the file. 145
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 152
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 153
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 154
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 154
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 155
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 156
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 157
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 158
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 172
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 173
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 174
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 174
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 175
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 176
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 177
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 178
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 192
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 193
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 194
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 194
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 195
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 196
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 197
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 198

elasticsearch/src/test/java/org/elasticsearch/index/query/IndexQueryParserFilterDateRangeFormatTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 59
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 140
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 144
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 158
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 162

elasticsearch/src/test/java/org/elasticsearch/index/query/IndexQueryParserFilterDateRangeTimezoneTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 58

elasticsearch/src/test/java/org/elasticsearch/index/query/ItemSerializationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "docs" appears 2 times in the file. 77
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 118
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 122
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 123

elasticsearch/src/test/java/org/elasticsearch/index/query/SimpleIndexQueryParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 10 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "test" appears 35 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "person" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "content" appears 24 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "boosted" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "name.first" appears 111 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "name.last" appears 30 times in the file. 199
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 276
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 288
 Warning extension MultipleStringLiteralsExtended The String "first" appears 3 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "last" appears 3 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "sh" appears 22 times in the file. 395
 Warning extension MultipleStringLiteralsExtended The String "age" appears 53 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "shay" appears 19 times in the file. 542
 Warning extension MultipleStringLiteralsExtended The String "unknown" appears 2 times in the file. 596
 Warning extension MultipleStringLiteralsExtended The String "s.*y" appears 6 times in the file. 606
 Warning extension MultipleStringLiteralsExtended The String "sh*" appears 5 times in the file. 717
 Warning extension MultipleStringLiteralsExtended The String "shay1" appears 17 times in the file. 887
 Warning extension MultipleStringLiteralsExtended The String "shay4" appears 12 times in the file. 887
 Warning extension MultipleStringLiteralsExtended The String "shay2" appears 3 times in the file. 887
 Warning extension MultipleStringLiteralsExtended The String "shay3" appears 3 times in the file. 887
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 1101
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 5 times in the file. 1127
 Warning extension MultipleStringLiteralsExtended The String "test4" appears 3 times in the file. 1127
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 5 times in the file. 1127
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 5 times in the file. 1127
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 2 times in the file. 1211
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 1211
 Warning extension MultipleStringLiteralsExtended The String "query" appears 4 times in the file. 1226
 Warning extension MultipleStringLiteralsExtended The String "banon" appears 17 times in the file. 1262
 Warning extension MultipleStringLiteralsExtended The String "user" appears 4 times in the file. 1596
 Warning extension MultipleStringLiteralsExtended The String "something" appears 12 times in the file. 1708
 Warning extension MultipleStringLiteralsExtended The String "more_like_this" appears 2 times in the file. 1733
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/index/query/mlt-items.json" appears 2 times in the file. 1737
 Warning extension MultipleStringLiteralsExtended The String "location" appears 25 times in the file. 1932
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2236
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 2356
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 2381
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2405
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2426
 Warning extension MultipleStringLiteralsExtended The String "function_score" appears 4 times in the file. 2507
 Warning extension MultipleStringLiteralsExtended The String "functions" appears 4 times in the file. 2508
 Warning extension MultipleStringLiteralsExtended The String "popularity" appears 2 times in the file. 2511
 Warning extension MultipleStringLiteralsExtended The String "weight" appears 4 times in the file. 2513
 Warning extension MultipleStringLiteralsExtended The String "testidx" appears 4 times in the file. 2518
 Warning extension MultipleStringLiteralsExtended The String "boost_factor" appears 3 times in the file. 2536
 Warning extension MultipleStringLiteralsExtended The String "Expect exception here because boost_factor must not have a weight" appears 2 times in the file. 2541
 Warning extension MultipleStringLiteralsExtended The String "Expect exception here because array of functions and one weight in body is not allowed." appears 2 times in the file. 2559

elasticsearch/src/test/java/org/elasticsearch/index/query/TemplateQueryParserTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Parsing template query failed." appears 2 times in the file. 124

elasticsearch/src/test/java/org/elasticsearch/index/query/TemplateQueryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 37 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "testtype" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "2" appears 7 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "template" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "all" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "{\n" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String " \"query\": {\n" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String " \"template\": {\n" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String " \"query\": {\"match_{{template}}\": {}},\n" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String " \"params\" : {\n" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String " \"template\" : \"all\"\n" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "}" appears 11 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 168
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 189
 Warning extension MultipleStringLiteralsExtended The String "type" appears 30 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "theField" appears 5 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "3" appears 6 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "4" appears 5 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "5" appears 4 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "otherField" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "myField" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "full-query-template" appears 2 times in the file. 214
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 224
 Warning extension MultipleStringLiteralsExtended The String "testTemplate" appears 6 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "{" appears 5 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "\"template\":{" appears 5 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String " \"query\":{" appears 4 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String " \"match\":{" appears 4 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String " \"theField\" : \"{{fieldParam}}\"}" appears 5 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String " }" appears 5 times in the file. 234
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 238
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 252
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"foo\"}" appears 3 times in the file. 256
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"foo 2\"}" appears 3 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"foo 3\"}" appears 3 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"foo 4\"}" appears 3 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"bar\"}" appears 3 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "fieldParam" appears 5 times in the file. 265
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 272
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 275
 Warning extension MultipleStringLiteralsExtended The String "/template_index/mustache/1000" appears 2 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "1a" appears 2 times in the file. 286
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 337
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "testindex" appears 5 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "git01" appears 5 times in the file. 383
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 388

elasticsearch/src/test/java/org/elasticsearch/index/query/guice/IndexQueryParserModuleTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "my" appears 4 times in the file. 48

elasticsearch/src/test/java/org/elasticsearch/index/query/guice/MyJsonFilterParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53

elasticsearch/src/test/java/org/elasticsearch/index/query/guice/MyJsonQueryParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53

elasticsearch/src/test/java/org/elasticsearch/index/query/plugin/IndexQueryParserPlugin2Tests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "my" appears 6 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/index/query/plugin/IndexQueryParserPluginTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "my" appears 6 times in the file. 68

elasticsearch/src/test/java/org/elasticsearch/index/query/plugin/PluginJsonFilterParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53

elasticsearch/src/test/java/org/elasticsearch/index/query/plugin/PluginJsonQueryParser.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 53

elasticsearch/src/test/java/org/elasticsearch/index/search/FieldDataTermsFilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "str" appears 2 times in the file. 97

elasticsearch/src/test/java/org/elasticsearch/index/search/child/AbstractChildTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] with id value " appears 2 times in the file. 85

elasticsearch/src/test/java/org/elasticsearch/index/search/child/ChildrenConstantScoreQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 14 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "child" appears 11 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 5 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "delete" appears 3 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "me" appears 5 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 160

elasticsearch/src/test/java/org/elasticsearch/index/search/child/ChildrenQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 12 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "child" appears 10 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "delete" appears 3 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "me" appears 5 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 137

elasticsearch/src/test/java/org/elasticsearch/index/search/child/ParentConstantScoreQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 8 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "child" appears 8 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "delete" appears 3 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "me" appears 5 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 133

elasticsearch/src/test/java/org/elasticsearch/index/search/child/ParentQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 7 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "child" appears 8 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "delete" appears 3 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "me" appears 5 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 133

elasticsearch/src/test/java/org/elasticsearch/index/search/child/ScoreTypeTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 62
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 70

elasticsearch/src/test/java/org/elasticsearch/index/search/child/TopChildrenQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "child" appears 3 times in the file. 44

elasticsearch/src/test/java/org/elasticsearch/index/search/geo/GeoDistanceTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 50
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 50
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 51
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 51

elasticsearch/src/test/java/org/elasticsearch/index/search/geo/GeoHashUtilsTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 55
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 55
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 59
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 60
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 84
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 84
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 86
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 87

elasticsearch/src/test/java/org/elasticsearch/index/search/geo/GeoPointParsingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String ", " appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 4 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 4 times in the file. 86
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 93
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 95
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 96
 Warning extension MultipleStringLiteralsExtended The String "geohash" appears 2 times in the file. 103
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 112
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 128
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 141
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 144

elasticsearch/src/test/java/org/elasticsearch/index/search/geo/GeoUtilsTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 47
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 51
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 60
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 61
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 62
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 63
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 64
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 69
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 78
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 79
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 80
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 81
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 82
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 87
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 88
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 103
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 103
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 105
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 105
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 107
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 107
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 109
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 109
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 111
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 111
 Warning extension MultipleStringLiteralsExtended The String "m" appears 2 times in the file. 127
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 153
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 171
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 172
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 234
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 235
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 236
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 237
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 238
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 239
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 240
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 241
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 242
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 243
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 244
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 245
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 281
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 282
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 283
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 284
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 285
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 286
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 287
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 288
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 289
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 290
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 291
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 292
 Warning extension MultipleStringLiteralsExtended The String "Unexpected Latitude" appears 3 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "Unexpected Longitude" appears 3 times in the file. 371
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 377
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 377
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 378
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 378
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 379
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 379
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 380
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 380
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 381
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 381
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 382
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 382
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 383
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 383
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 384
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 384
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 385
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 385
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 386
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 386
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 387
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 387
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 388
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 388
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 7 times in the file. 411
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 7 times in the file. 411
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "geohash" appears 4 times in the file. 446
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 463
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 471
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 480
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 489
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 498
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 507
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 517
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 529
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 542
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 554
 Warning extension MultipleStringLiteralsExtended The String "width at level " appears 2 times in the file. 585
 Warning extension MultipleStringLiteralsExtended The String "height at level " appears 2 times in the file. 586

elasticsearch/src/test/java/org/elasticsearch/index/search/nested/AbstractNumberNestedSortingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 33 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "filter_1" appears 22 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "T" appears 15 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "__type" appears 11 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 11 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 8 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "F" appears 7 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "fieldXXX" appears 3 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 200

elasticsearch/src/test/java/org/elasticsearch/index/search/nested/DoubleNestedSortingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 2 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/index/search/nested/FloatNestedSortingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 2 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/index/search/nested/NestedSortingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "f" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "__type" appears 13 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "child" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 11 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 25 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "filter_1" appears 22 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "T" appears 15 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "c" appears 4 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 8 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "d" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "e" appears 4 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "g" appears 7 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "h" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "F" appears 7 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "i" appears 5 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "k" appears 3 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "m" appears 5 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "o" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "fieldXXX" appears 3 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 264

elasticsearch/src/test/java/org/elasticsearch/index/shard/IndexShardModuleTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "no shadow replicas for normal settings" appears 2 times in the file. 50

elasticsearch/src/test/java/org/elasticsearch/index/shard/IndexShardTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 36

elasticsearch/src/test/java/org/elasticsearch/index/similarity/SimilarityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "default" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "BM25" appears 3 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "type" appears 12 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 18 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "string" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "similarity" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "my_similarity" appears 6 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "index.similarity.my_similarity.type" appears 6 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "index.similarity.my_similarity.discount_overlaps" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "index.similarity.my_similarity.normalization" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "h2" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "index.similarity.my_similarity.normalization.h2.c" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "index.similarity.my_similarity.lambda" appears 2 times in the file. 127

elasticsearch/src/test/java/org/elasticsearch/index/snapshots/blobstore/SlicedInputStreamTest.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 92

elasticsearch/src/test/java/org/elasticsearch/index/store/CorruptedFileTest.java

Severity Category Rule Message Line
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 111
 Warning extension MultipleStringLiteralsExtended The String "node.data" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "node.client" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "node.master" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "test" appears 26 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "indices.recovery.concurrent_streams" appears 3 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 136
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 148
 Warning extension MultipleStringLiteralsExtended The String "cluster state:\n{}\n{}" appears 2 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "timed out waiting for green state" appears 2 times in the file. 159
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 170
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 196
 Warning extension MultipleStringLiteralsExtended The String "0" appears 4 times in the file. 230
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 250
 Warning extension MoveVariableInsideIf Variable 'didClusterTurnRed' can be moved inside the block at line '267' to restrict runtime creation. 257
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 273
 Warning extension MultipleStringLiteralsExtended The String "corrupted_" appears 2 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.include._name" appears 4 times in the file. 319
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 325
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 398
 Warning extension MultipleStringLiteralsExtended The String "test-repo" appears 2 times in the file. 485
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 518
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 523
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 524
 Warning extension MultipleStringLiteralsExtended The String "indices/test/" appears 2 times in the file. 530
 Warning extension MultipleStringLiteralsExtended The String "/index" appears 2 times in the file. 530
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 536
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 572
 Warning extension MultipleStringLiteralsExtended The String ".del" appears 2 times in the file. 588
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 611
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.enable" appears 2 times in the file. 640

elasticsearch/src/test/java/org/elasticsearch/index/store/CorruptedTranslogTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 78
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 124

elasticsearch/src/test/java/org/elasticsearch/index/store/DistributorDirectoryTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "one.txt" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "file [" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "] was renamed but still exists" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "foo.bar" appears 3 times in the file. 170

elasticsearch/src/test/java/org/elasticsearch/index/store/DistributorInTheWildTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "OBD files: " appears 2 times in the file. 88
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 90
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '|='. 116
 Warning extension ReturnCountExtended Return count for 'getDirectory' method is 2 (max allowed is 1). 136
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 171

elasticsearch/src/test/java/org/elasticsearch/index/store/ExceptionRetryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 5 times in the file. 75
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 80
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 112

elasticsearch/src/test/java/org/elasticsearch/index/store/LegacyVerificationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "abcdefgh" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "legacy" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "oneByte" appears 4 times in the file. 93

elasticsearch/src/test/java/org/elasticsearch/index/store/StoreTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 15 times in the file. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 98
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 110
 Warning extension MultipleStringLiteralsExtended The String " expected exception" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "foo.bar" appears 14 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "foo1.bar" appears 6 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "should be a corrupted index" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "id" appears 15 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "body" appears 10 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "dv" appears 6 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "no index present - expected exception" appears 3 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "write.lock" appears 4 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "segments" appears 2 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "checksum" appears 3 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String " vs. " appears 4 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String "File: " appears 3 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String " has a different checksum" appears 3 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String ".si" appears 2 times in the file. 340
 Warning extension MultipleStringLiteralsExtended The String "foo.tii" appears 4 times in the file. 453
 Warning extension MultipleStringLiteralsExtended The String "boguschecksum" appears 16 times in the file. 453
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 454
 Warning extension MultipleStringLiteralsExtended The String "foo.temp" appears 6 times in the file. 455
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 462
 Warning extension MultipleStringLiteralsExtended The String "foo.temp2" appears 4 times in the file. 463
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 470
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 475
 Warning extension MultipleStringLiteralsExtended The String "foo.tis" appears 4 times in the file. 486
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 487
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 495
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 503
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 508
 Warning extension MultipleStringLiteralsExtended The String "foo.cfs" appears 5 times in the file. 520
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 521
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 529
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 537
 Warning extension MultipleStringLiteralsExtended The String "foo.temp3" appears 3 times in the file. 538
 Warning extension MultipleStringLiteralsExtended The String "should have gotten expected exception" appears 3 times in the file. 541
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 543
 Warning extension MultipleStringLiteralsExtended The String "checksum failed" appears 3 times in the file. 543
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 548
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 553
 Warning extension MultipleStringLiteralsExtended The String "segments_1" appears 5 times in the file. 565
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 566
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 574
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 582
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 588
 Warning extension MultipleStringLiteralsExtended The String "segments.gen" appears 3 times in the file. 601
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 602
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 610
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 618
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 624
 Warning extension MultipleStringLiteralsExtended The String "bar.foo" appears 6 times in the file. 645
 Warning extension MultipleStringLiteralsExtended The String "lucene_checksum.bin" appears 6 times in the file. 695
 Warning extension MultipleStringLiteralsExtended The String "legacy.bin" appears 5 times in the file. 709
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 728
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 729
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 730
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 731
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 737
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 738
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 739
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 740
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 746
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 747
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 748
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 749
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 755
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 756
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 757
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 758
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 891
 Warning extension MultipleStringLiteralsExtended The String " is not in the map: " appears 2 times in the file. 892
 Warning extension MultipleStringLiteralsExtended The String "_0_1.del" appears 4 times in the file. 914
 Warning extension MultipleStringLiteralsExtended The String "foobarbaz" appears 2 times in the file. 914
 Warning extension MultipleStringLiteralsExtended The String ".del" appears 2 times in the file. 1019
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 1136
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1141
 Warning extension MultipleStringLiteralsExtended The String "at least one file must not be in here since we have two commits?" appears 2 times in the file. 1149
 Warning extension MultipleStringLiteralsExtended The String "we wrote one checksum but it's gone now? - checksums are supposed to be kept" appears 2 times in the file. 1150
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1176
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1241

elasticsearch/src/test/java/org/elasticsearch/index/store/distributor/DistributorTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 40
 Warning extension MultipleStringLiteralsExtended The String "dir0" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "dir1" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "dir2" appears 2 times in the file. 43
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 95

elasticsearch/src/test/java/org/elasticsearch/index/suggest/stats/SuggestStatsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 6 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "f" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "s" appears 2 times in the file. 141

elasticsearch/src/test/java/org/elasticsearch/index/translog/AbstractSimpleTranslogTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 23 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 81
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 81
 Warning extension MultipleStringLiteralsExtended The String "2" appears 9 times in the file. 82
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 82
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 83
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 84
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 86
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 87
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 88
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 89
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 91
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 100
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 113
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 133
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 139
 Warning extension MultipleStringLiteralsExtended The String "3" appears 4 times in the file. 145
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 151
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 161
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 165
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 173
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 211
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 217
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 230
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 248
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 257
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 269
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 278
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 291
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 294
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 298
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 307
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 315
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 331
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 341
 Warning extension MultipleStringLiteralsExtended The String "_" appears 3 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 5 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 2 times in the file. 396
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 403
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 413
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 495
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 519
 Warning extension MultipleStringLiteralsExtended The String "translog-" appears 2 times in the file. 539
 Warning extension MultipleStringLiteralsExtended The String "rw" appears 2 times in the file. 540
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 580
 Warning extension MultipleStringLiteralsExtended The String "translog-1" appears 2 times in the file. 580
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 581
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 593

elasticsearch/src/test/java/org/elasticsearch/index/translog/TranslogVersionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test file should exist" appears 6 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "operation is the correct type correctly" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 54
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 59
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 90
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 97
 Warning extension MultipleStringLiteralsExtended The String "should have thrown an exception about the header being corrupt" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "translog corruption from header: " appears 2 times in the file. 115
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 135
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 158

elasticsearch/src/test/java/org/elasticsearch/index/translog/fs/FsBufferedTranslogTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data/fs-buf-translog" appears 2 times in the file. 48

elasticsearch/src/test/java/org/elasticsearch/index/translog/fs/FsSimpleTranslogTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "data/fs-simple-translog" appears 2 times in the file. 44

elasticsearch/src/test/java/org/elasticsearch/indexing/IndexActionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 21 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type" appears 12 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 62
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 69
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 72
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 78
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 81
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 8 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "value1_1" appears 4 times in the file. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 101
 Warning extension MultipleStringLiteralsExtended The String "value1_2" appears 3 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 119
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 126
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 169
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 181
 Warning extension MultipleStringLiteralsExtended The String "exception should have been thrown on too-long index name" appears 3 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "exception contains message about index name too long: " appears 3 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "index name is too long," appears 3 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "mytype" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 197

elasticsearch/src/test/java/org/elasticsearch/indexlifecycle/IndexLifecycleActionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "cluster.routing.schedule" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "20ms" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Creating index [test]" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "Running Cluster Health" appears 6 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Done Cluster Health, status " appears 6 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "Starting server2" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "2" appears 8 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "Starting server3" appears 2 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "3" appears 4 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "Closing server1" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "Deleting index [test]" appears 2 times in the file. 212

elasticsearch/src/test/java/org/elasticsearch/indices/FlushTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 41
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 58

elasticsearch/src/test/java/org/elasticsearch/indices/IndicesCustomDataPathTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index.store.type" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "default" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "local" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "--> creating an index with data_path [{}]" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "{\"body\": \"foo\"}" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "found the hit" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "--> closing the index [{}]" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "--> index re-opened" appears 2 times in the file. 98

elasticsearch/src/test/java/org/elasticsearch/indices/IndicesLifecycleListenerSingleNodeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 46

elasticsearch/src/test/java/org/elasticsearch/indices/IndicesLifecycleListenerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index.fail" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "failing on purpose" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 93
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 99
 Warning extension MultipleStringLiteralsExtended The String "failed" appears 4 times in the file. 100
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 102
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension MultipleStringLiteralsExtended The String "index1" appears 4 times in the file. 116
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 149
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 228
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 244

elasticsearch/src/test/java/org/elasticsearch/indices/IndicesOptionsIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 252 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 111 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "dummy-repo" appears 6 times in the file. 333
 Warning extension MultipleStringLiteralsExtended The String "fs" appears 2 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "location" appears 2 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "snap1" appears 5 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "snap2" appears 7 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "snap3" appears 5 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 48 times in the file. 410
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 411
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 411
 Warning extension MultipleStringLiteralsExtended The String "k" appears 3 times in the file. 411
 Warning extension MultipleStringLiteralsExtended The String "v" appears 3 times in the file. 411
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 414
 Warning extension MultipleStringLiteralsExtended The String "foo*" appears 28 times in the file. 414
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 439
 Warning extension MultipleStringLiteralsExtended The String "bar*" appears 13 times in the file. 439
 Warning extension MultipleStringLiteralsExtended The String "barbaz" appears 38 times in the file. 508
 Warning extension MultipleStringLiteralsExtended The String "baz*" appears 3 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 2 times in the file. 531
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 548
 Warning extension MultipleStringLiteralsExtended The String "Exception should have been thrown." appears 2 times in the file. 552
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 556
 Warning extension MultipleStringLiteralsExtended The String "t*" appears 2 times in the file. 587
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 38 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 32 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 20 times in the file. 601
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 33 times in the file. 643
 Warning extension MultipleStringLiteralsExtended The String "field" appears 17 times in the file. 643
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 17 times in the file. 643
 Warning extension MultipleStringLiteralsExtended The String "warmer1" appears 7 times in the file. 684
 Warning extension MultipleStringLiteralsExtended The String "warmer2" appears 5 times in the file. 701
 Warning extension MultipleStringLiteralsExtended The String "foobar_alias" appears 12 times in the file. 714
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 8 times in the file. 742
 Warning extension MultipleStringLiteralsExtended The String "type3" appears 10 times in the file. 743
 Warning extension MultipleStringLiteralsExtended The String "type4" appears 7 times in the file. 744
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 771
 Warning extension MultipleStringLiteralsExtended The String "{\"query\" : { \"match_all\" : {}}}" appears 2 times in the file. 771
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 787
 Warning extension MultipleStringLiteralsExtended The String "a" appears 6 times in the file. 863
 Warning extension MultipleStringLiteralsExtended The String "b" appears 8 times in the file. 863
 Warning extension MultipleStringLiteralsExtended The String "d" appears 5 times in the file. 872
 Warning extension MultipleStringLiteralsExtended The String "index.a" appears 3 times in the file. 875
 Warning extension MultipleStringLiteralsExtended The String "index.c" appears 4 times in the file. 880
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 886
 Warning extension MultipleStringLiteralsExtended The String "dummy" appears 3 times in the file. 943

elasticsearch/src/test/java/org/elasticsearch/indices/IndicesServiceTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 23 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 59
 Warning extension MultipleStringLiteralsExtended The String "boom" appears 4 times in the file. 61
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 71
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 100
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 130
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 139
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 153
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 160

elasticsearch/src/test/java/org/elasticsearch/indices/analysis/DummyIndicesAnalysis.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "dummy" appears 2 times in the file. 33

elasticsearch/src/test/java/org/elasticsearch/indices/analysis/PreBuiltAnalyzerIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 8 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 3 times in the file. 79

elasticsearch/src/test/java/org/elasticsearch/indices/analyze/AnalyzeActionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 13 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 5 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "this is a test" appears 6 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "this" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "is" appears 4 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "a" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "double" appears 2 times in the file. 69
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 72
 Warning extension MultipleStringLiteralsExtended The String "shouldn't get here" appears 2 times in the file. 74
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 78
 Warning extension MultipleStringLiteralsExtended The String "THIS IS A TEST" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "keyword" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 5 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "custom_mapping" appears 3 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "html_strip" appears 3 times in the file. 119

elasticsearch/src/test/java/org/elasticsearch/indices/analyze/HunspellServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "path.conf" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "/indices/analyze/conf_dir" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "en_US" appears 5 times in the file. 53
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 100
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 105
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 119
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 123

elasticsearch/src/test/java/org/elasticsearch/indices/cache/query/IndicesQueryCacheTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 7 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "f" appears 5 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "+01:00" appears 2 times in the file. 52

elasticsearch/src/test/java/org/elasticsearch/indices/exists/types/TypesExistsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 8 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 9 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 2 times in the file. 43
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 54
 Warning extension MultipleStringLiteralsExtended The String "notExist" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "Exception should have been thrown" appears 2 times in the file. 56
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 58

elasticsearch/src/test/java/org/elasticsearch/indices/leaks/IndicesLeaksTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 127

elasticsearch/src/test/java/org/elasticsearch/indices/mapping/ConcurrentDynamicTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "{ \"" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "\": {" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "test-user" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 4 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "str_value_" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "l_value_" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "d_value_" appears 2 times in the file. 113

elasticsearch/src/test/java/org/elasticsearch/indices/mapping/SimpleDeleteMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 7 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 3 times in the file. 44
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 74
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "1index" appears 2 times in the file. 84
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 88
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 89
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 93
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 98
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 103

elasticsearch/src/test/java/org/elasticsearch/indices/mapping/SimpleGetFieldMappingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 10 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "type" appears 20 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 30 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "subfield" appears 42 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "indexa" appears 30 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "typeA" appears 29 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "typeB" appears 23 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "indexb" appears 17 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "obj.subfield" appears 15 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "num" appears 7 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "pretty" appears 2 times in the file. 156

elasticsearch/src/test/java/org/elasticsearch/indices/mapping/SimpleGetMappingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "indexa" appears 27 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "typeA" appears 12 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "typeB" appears 9 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Atype" appears 12 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Btype" appears 13 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "indexb" appears 18 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "*" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "A*" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "B*" appears 2 times in the file. 128

elasticsearch/src/test/java/org/elasticsearch/indices/mapping/UpdateMappingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 45 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "type" appears 34 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "field_" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "_" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 5 times in the file. 99
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 135
 Warning extension MultipleStringLiteralsExtended The String "{\"type\":{\"properties\":{\"body\":{\"type\":\"string\"}}}}" appears 4 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "{\"type\":{\"properties\":{\"body\":{\"type\":\"integer\"}}}}" appears 2 times in the file. 148
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 154
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 7 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "normal" appears 7 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "long" appears 3 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "exclude" appears 8 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "include" appears 10 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 11 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "excludes" appears 7 times in the file. 235
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension MultipleStringLiteralsExtended The String "includes" appears 5 times in the file. 266
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 269
 Warning extension MultipleStringLiteralsExtended The String "*.excludes" appears 2 times in the file. 296
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 299
 Warning extension MultipleStringLiteralsExtended The String "date_detection" appears 3 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "f" appears 4 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 2 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 378
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 378
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 424

elasticsearch/src/test/java/org/elasticsearch/indices/memory/IndexingMemoryControllerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 5 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "] got [" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "100ms" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "failed to update shard indexing buffer size due to inactive state. expected [" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "IndexingMemoryControllerTests" appears 2 times in the file. 141

elasticsearch/src/test/java/org/elasticsearch/indices/memory/breaker/CircuitBreakerNoopTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "noop" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "10b" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "cb-test" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/indices/memory/breaker/CircuitBreakerServiceTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 108
 Warning extension MultipleStringLiteralsExtended The String "--> noop breakers used, skipping test" appears 4 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "cb-test" appears 11 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "test" appears 11 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "Data too large, data for [test] would be larger than limit of [100/100b]" appears 2 times in the file. 142
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 154
 Warning extension MultipleStringLiteralsExtended The String "ramtest" appears 5 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "10b" appears 2 times in the file. 230
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 236
 Warning extension MultipleStringLiteralsExtended The String "should have thrown an exception" appears 2 times in the file. 238
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 239
 Warning extension MultipleStringLiteralsExtended The String "Exception: " appears 3 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String " should contain a CircuitBreakingException" appears 3 times in the file. 241
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 258
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 261
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 292
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 295

elasticsearch/src/test/java/org/elasticsearch/indices/memory/breaker/CircuitBreakerUnitTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "50%" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "20%" appears 2 times in the file. 44
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 50
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 58
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 59
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 61

elasticsearch/src/test/java/org/elasticsearch/indices/memory/breaker/RandomExceptionCircuitBreakerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "test-str" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "format" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "test-num" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 116
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 123
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 133
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 167
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 200
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 201
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 233

elasticsearch/src/test/java/org/elasticsearch/indices/recovery/IndexRecoveryTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 128
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 138
 Warning extension MultipleStringLiteralsExtended The String "--> start nodes" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 8 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "local" appears 8 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "--> restarting cluster" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "--> request recoveries" appears 5 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "--> start node A" appears 3 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "--> create index on node: {}" appears 3 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "--> start node B" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "--> bump replica count" appears 2 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "number_of_replicas" appears 3 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "--> slowing down recoveries" appears 2 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String "--> speeding up recoveries" appears 2 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "node A throttling should be >0" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "node B throttling should be >0 " appears 2 times in the file. 345
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 370
 Warning extension MultipleStringLiteralsExtended The String "100ms" appears 2 times in the file. 521
 Warning extension MultipleStringLiteralsExtended The String "node.color" appears 2 times in the file. 530
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 530
 Warning extension MultipleStringLiteralsExtended The String "color" appears 2 times in the file. 542
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 558
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 563

elasticsearch/src/test/java/org/elasticsearch/indices/recovery/RecoveryStateTest.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 97
 Warning extension MultipleStringLiteralsExtended The String "bla" appears 2 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 513
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 524

elasticsearch/src/test/java/org/elasticsearch/indices/recovery/RecoveryStatusTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "foo.bar" appears 5 times in the file. 53

elasticsearch/src/test/java/org/elasticsearch/indices/recovery/RecoveryTargetTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "123" appears 4 times in the file. 51
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 53
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 60

elasticsearch/src/test/java/org/elasticsearch/indices/recovery/StartRecoveryRequestTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 48

elasticsearch/src/test/java/org/elasticsearch/indices/settings/UpdateNumberOfReplicasTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 64 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Running Cluster Health" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "Done Cluster Health, status " appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String ">=3" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "--> creating index test with auto expand replicas" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "auto_expand_replicas" appears 4 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "--> running cluster health" appears 10 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "--> done cluster health, status " appears 10 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "--> add another node, should increase the number of replicas" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "--> closing one node" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String ">=2" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "--> closing another node" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String ">=1" appears 2 times in the file. 169

elasticsearch/src/test/java/org/elasticsearch/indices/settings/UpdateSettingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 39 times in the file. 53
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 54
 Warning extension MultipleStringLiteralsExtended The String "index.refresh_interval" appears 9 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "index.cache.filter.type" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "none" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "-1" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "1s" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "type" appears 10 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "f" appears 3 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "0" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "field" appears 5 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "merge" appears 3 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "1mb" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "10000" appears 2 times in the file. 316
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 334
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 335
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 339
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 355

elasticsearch/src/test/java/org/elasticsearch/indices/state/CloseIndexDisableCloseAllTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 3 times in the file. 49
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 54
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 61
 Warning extension MultipleStringLiteralsExtended The String "*" appears 3 times in the file. 62
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 68
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 75
 Warning extension MultipleStringLiteralsExtended The String "-test1" appears 2 times in the file. 76
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 82

elasticsearch/src/test/java/org/elasticsearch/indices/state/OpenCloseIndexTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 47 times in the file. 56
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 69
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 75
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 81
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 22 times in the file. 87
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 102
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 9 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "test*" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 184
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 193
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 199
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 205
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 211
 Warning extension MultipleStringLiteralsExtended The String "test1-alias" appears 3 times in the file. 255
 Warning extension MultipleStringLiteralsExtended The String "test-alias" appears 4 times in the file. 274

elasticsearch/src/test/java/org/elasticsearch/indices/state/RareClusterStateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 77
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 102
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension MultipleStringLiteralsExtended The String "200ms" appears 2 times in the file. 120
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 121

elasticsearch/src/test/java/org/elasticsearch/indices/state/SimpleIndexStateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 27 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "--> waiting for green status" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "--> indexing a simple document" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 68
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 83
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.include.tag" appears 2 times in the file. 111
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 117
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 146
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 153
 Warning extension MultipleStringLiteralsExtended The String "number_of_shards" appears 2 times in the file. 154

elasticsearch/src/test/java/org/elasticsearch/indices/stats/IndexStatsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1ms" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "test" appears 23 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "type" appears 14 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "field" appears 35 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "value" appears 15 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "test_key" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 4 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "2" appears 7 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 4 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "*" appears 7 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 24 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "common" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "str_value" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "s" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "merge" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "0" appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 42 times in the file. 376
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 13 times in the file. 376
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 11 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 6 times in the file. 380
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 650
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 4 times in the file. 681
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 28 times in the file. 708
 Warning extension MultipleStringLiteralsExtended The String "{\"bar\":\"bar\",\"baz\":\"baz\"}" appears 4 times in the file. 708
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 20 times in the file. 709
 Warning extension MultipleStringLiteralsExtended The String "*r" appears 3 times in the file. 740
 Warning extension MultipleStringLiteralsExtended The String "bar.completion" appears 6 times in the file. 767
 Warning extension MultipleStringLiteralsExtended The String "baz.completion" appears 5 times in the file. 771
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 802
 Warning extension MultipleStringLiteralsExtended The String "new flag? " appears 2 times in the file. 927
 Warning extension ReturnCountExtended Return count for 'isSet' method is 18 (max allowed is 1). 932

elasticsearch/src/test/java/org/elasticsearch/indices/store/IndicesStoreIntegrationTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 63
 Warning extension MultipleStringLiteralsExtended The String "node.master" appears 5 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "--> creating index [test] with one shard and on replica" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "test" appears 38 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "--> making sure that shard and its replica are allocated on node_1 and node_2" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "--> starting node server3" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "--> running cluster_health" appears 4 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "not " appears 2 times in the file. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240

elasticsearch/src/test/java/org/elasticsearch/indices/store/IndicesStoreTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "test" appears 27 times in the file. 71
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 15 times in the file. 96
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 113
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 114
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 122
 Warning extension MultipleStringLiteralsExtended The String "def" appears 5 times in the file. 135
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 165
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 191

elasticsearch/src/test/java/org/elasticsearch/indices/store/SimpleDistributorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 19 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "least_used" appears 6 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "), rate_limited(niofs(" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String ", type=MERGE, rate=20.0)])" appears 5 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "index.store.distributor" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "index.store.type" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 2 times in the file. 131

elasticsearch/src/test/java/org/elasticsearch/indices/template/IndexTemplateFileLoadingTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 62

elasticsearch/src/test/java/org/elasticsearch/indices/template/IndexTemplateFilteringTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test*" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "template2" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "no_match" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "header_test" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "header_value" appears 2 times in the file. 66

elasticsearch/src/test/java/org/elasticsearch/indices/template/SimpleIndexTemplateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "template_1" appears 25 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "te*" appears 19 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 31 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 10 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 15 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "type" appears 17 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "string" appears 17 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "store" appears 17 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 14 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 16 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "index" appears 9 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 7 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "template_2" appears 9 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "test*" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "no" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "test_index" appears 23 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 9 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "value 2" appears 4 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "text_index" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "template*" appears 2 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "--> put template_1" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "template3" appears 3 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "c" appears 2 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "abcde" appears 3 times in the file. 298
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 306
 Warning extension MultipleStringLiteralsExtended The String "test" appears 41 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "index.does_not_exist" appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "simple_alias" appears 2 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "filtered_alias" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "complex_filtered_alias" appears 2 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "typeX" appears 4 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "typeY" appears 4 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "typeZ" appears 4 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 9 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "field" appears 18 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String " \"filter\" : {\n" appears 2 times in the file. 399
 Warning extension MultipleStringLiteralsExtended The String " \"type\" : {\n" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String " \"value\" : \"type2\"\n" appears 2 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 403
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 405
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 3 times in the file. 417
 Warning extension MultipleStringLiteralsExtended The String "my_alias" appears 4 times in the file. 423
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 6 times in the file. 459
 Warning extension MultipleStringLiteralsExtended The String "alias2" appears 2 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "invalid_alias" appears 3 times in the file. 487
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 494
 Warning extension MultipleStringLiteralsExtended The String "failed to parse filter for alias [invalid_alias]" appears 2 times in the file. 498
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 512
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 531
 Warning extension MultipleStringLiteralsExtended The String "1,2,3" appears 2 times in the file. 543
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 545
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 559
 Warning extension MultipleStringLiteralsExtended The String "template1" appears 2 times in the file. 569
 Warning extension MultipleStringLiteralsExtended The String "alias3" appears 5 times in the file. 574
 Warning extension MultipleStringLiteralsExtended The String "alias4" appears 3 times in the file. 575
 Warning extension MultipleStringLiteralsExtended The String "template2" appears 2 times in the file. 577
 Warning extension MultipleStringLiteralsExtended The String "test-alias" appears 3 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "test-routing" appears 2 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 3 times in the file. 611
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 612
 Warning extension MultipleStringLiteralsExtended The String "_default_" appears 2 times in the file. 617
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 8 times in the file. 632
 Warning extension MultipleStringLiteralsExtended The String "a2" appears 2 times in the file. 633
 Warning extension MultipleStringLiteralsExtended The String "b2" appears 2 times in the file. 642
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 2 times in the file. 651
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 659
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 662
 Warning extension MultipleStringLiteralsExtended The String "failed to parse filter for alias [alias4]" appears 2 times in the file. 664

elasticsearch/src/test/java/org/elasticsearch/indices/warmer/LocalGatewayIndicesWarmerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "local" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "warmer_1" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "template_1" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "--> restarting the node" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "--> verify warmers are recovered" appears 2 times in the file. 101

elasticsearch/src/test/java/org/elasticsearch/indices/warmer/SimpleIndicesWarmerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 68 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "warmer_1" appears 8 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "a1" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "field" appears 11 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 7 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "warmer_2" appears 8 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 9 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "{\n" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String " \"warmers\" : {\n" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String " \"warmer_1\" : {\n" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String " \"types\" : [],\n" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String " \"source\" : {\n" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String " \"query\" : {\n" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String " \"match_all\" : {}\n" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 125
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 168
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "custom_warmer" appears 6 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "second_custom_warmer" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "t" appears 3 times in the file. 327

elasticsearch/src/test/java/org/elasticsearch/mget/SimpleMgetTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 26 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "1" appears 11 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "nonExistingIndex" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "[nonExistingIndex] missing" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "included" appears 5 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "should not be seen" appears 2 times in the file. 111
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 138

elasticsearch/src/test/java/org/elasticsearch/mlt/MoreLikeThisActionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Creating index test" appears 8 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "test" appears 67 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 64 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 11 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "text" appears 38 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type" appears 19 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "string" appears 8 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "Running Cluster Health" appears 8 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Indexing..." appears 8 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "1" appears 30 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "lucene" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "2" appears 13 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "lucene release" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Running moreLikeThis" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "some_long" appears 4 times in the file. 88
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 93
 Warning extension MultipleStringLiteralsExtended The String "3" appears 5 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "release" appears 3 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "beta" appears 4 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 16 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 16 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "boz" appears 3 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "4000" appears 2 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "int_value" appears 10 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "string_value" appears 8 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "index" appears 5 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "42" appears 3 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "Running MoreLikeThis" appears 2 times in the file. 372
 Warning extension MultipleStringLiteralsExtended The String "0%" appears 3 times in the file. 414
 Warning extension MultipleStringLiteralsExtended The String " at position " appears 2 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String " but wasn't." appears 2 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 475
 Warning extension MultipleStringLiteralsExtended The String "0" appears 5 times in the file. 481
 Warning extension MultipleStringLiteralsExtended The String "Creating the index ..." appears 3 times in the file. 493
 Warning extension MultipleStringLiteralsExtended The String "type=string,analyzer=whitespace" appears 2 times in the file. 536
 Warning extension MultipleStringLiteralsExtended The String "date" appears 4 times in the file. 603
 Warning extension MultipleStringLiteralsExtended The String "Hello World!" appears 3 times in the file. 609

elasticsearch/src/test/java/org/elasticsearch/mlt/XMoreLikeThisTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 47
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 73
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 93

elasticsearch/src/test/java/org/elasticsearch/nested/SimpleNestedTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 105 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 62 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "nested1" appears 50 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type=nested" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "n_value1_1" appears 19 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "nested1.n_field1" appears 13 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "1" appears 54 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 38 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 9 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "n_field1" appears 18 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "n_field2" appears 16 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "n_value2_1" appears 10 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "n_value1_2" appears 7 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "n_value2_2" appears 8 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "2" appears 47 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "nested1.n_field2" appears 4 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 20 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "type" appears 42 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 15 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "long" appears 7 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "0" appears 3 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "n_value1_8" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "n_value2_5" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "n_value1_3" appears 2 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 242
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 3 times in the file. 243
 Warning extension MultipleStringLiteralsExtended The String "index.referesh_interval" appears 4 times in the file. 284
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'total'. 370
 Warning extension MultipleStringLiteralsExtended The String "nested2" appears 8 times in the file. 383
 Warning extension MultipleStringLiteralsExtended The String "field" appears 5 times in the file. 390
 Warning extension MultipleStringLiteralsExtended The String "value" appears 8 times in the file. 390
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 11 times in the file. 392
 Warning extension MultipleStringLiteralsExtended The String "3" appears 35 times in the file. 392
 Warning extension MultipleStringLiteralsExtended The String "4" appears 11 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "5" appears 7 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "nested1.field1" appears 12 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "nested1.nested2" appears 16 times in the file. 412
 Warning extension MultipleStringLiteralsExtended The String "nested1.nested2.field2" appears 7 times in the file. 413
 Warning extension MultipleStringLiteralsExtended The String "field2_1" appears 10 times in the file. 469
 Warning extension MultipleStringLiteralsExtended The String "string" appears 10 times in the file. 469
 Warning extension MultipleStringLiteralsExtended The String "field2_2" appears 11 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "field1_1" appears 4 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 10 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "yellow" appears 3 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "green" appears 3 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String "red" appears 2 times in the file. 492
 Warning extension MultipleStringLiteralsExtended The String "facet1" appears 7 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "nested1.nested2.field2_1" appears 6 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "nested1.nested2.field2_2" appears 3 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "facet2" appears 2 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "facet2_blue" appears 2 times in the file. 501
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 2 times in the file. 600
 Warning extension MultipleStringLiteralsExtended The String "n_value1" appears 3 times in the file. 666
 Warning extension MultipleStringLiteralsExtended The String "index.refresh_interval" appears 2 times in the file. 698
 Warning extension MultipleStringLiteralsExtended The String "_fields['nested1.field1'].value + 1" appears 2 times in the file. 778
 Warning extension MultipleStringLiteralsExtended The String "number" appears 3 times in the file. 778
 Warning extension MultipleStringLiteralsExtended The String "5.0" appears 2 times in the file. 785
 Warning extension MultipleStringLiteralsExtended The String "3.0" appears 2 times in the file. 787
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 5 times in the file. 792
 Warning extension MultipleStringLiteralsExtended The String "_fields['nested1.field1'].value" appears 4 times in the file. 807
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 4 times in the file. 809
 Warning extension MultipleStringLiteralsExtended The String "nested1.field2" appears 2 times in the file. 929
 Warning extension MultipleStringLiteralsExtended The String "10m" appears 2 times in the file. 932
 Warning extension MultipleStringLiteralsExtended The String "10" appears 2 times in the file. 943
 Warning extension MultipleStringLiteralsExtended The String "grand_parent_values" appears 4 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 7 times in the file. 971
 Warning extension MultipleStringLiteralsExtended The String "parent_values" appears 7 times in the file. 973
 Warning extension MultipleStringLiteralsExtended The String "child" appears 13 times in the file. 974
 Warning extension MultipleStringLiteralsExtended The String "child_values" appears 13 times in the file. 976
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 18 times in the file. 990
 Warning extension MultipleStringLiteralsExtended The String "child_obj" appears 3 times in the file. 995
 Warning extension MultipleStringLiteralsExtended The String "parent.child.child_values" appears 10 times in the file. 1087
 Warning extension MultipleStringLiteralsExtended The String "parent.child" appears 10 times in the file. 1088
 Warning extension MultipleStringLiteralsExtended The String "parent.child.filter" appears 5 times in the file. 1107
 Warning extension MultipleStringLiteralsExtended The String "parent.filter" appears 2 times in the file. 1144
 Warning extension MultipleStringLiteralsExtended The String "7" appears 2 times in the file. 1213
 Warning extension MultipleStringLiteralsExtended The String "11" appears 2 times in the file. 1215
 Warning extension MultipleStringLiteralsExtended The String "officelocation" appears 3 times in the file. 1323
 Warning extension MultipleStringLiteralsExtended The String "users" appears 4 times in the file. 1324
 Warning extension MultipleStringLiteralsExtended The String "first" appears 7 times in the file. 1327
 Warning extension MultipleStringLiteralsExtended The String "last" appears 7 times in the file. 1328
 Warning extension MultipleStringLiteralsExtended The String "workstations" appears 7 times in the file. 1329
 Warning extension MultipleStringLiteralsExtended The String "stationid" appears 13 times in the file. 1332
 Warning extension MultipleStringLiteralsExtended The String "phoneid" appears 13 times in the file. 1333
 Warning extension MultipleStringLiteralsExtended The String "gendale" appears 2 times in the file. 1341
 Warning extension MultipleStringLiteralsExtended The String "fname1" appears 5 times in the file. 1344
 Warning extension MultipleStringLiteralsExtended The String "lname1" appears 2 times in the file. 1345
 Warning extension MultipleStringLiteralsExtended The String "s1" appears 2 times in the file. 1348
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 2 times in the file. 1349
 Warning extension MultipleStringLiteralsExtended The String "s2" appears 2 times in the file. 1352
 Warning extension MultipleStringLiteralsExtended The String "p2" appears 2 times in the file. 1353
 Warning extension MultipleStringLiteralsExtended The String "s3" appears 2 times in the file. 1362
 Warning extension MultipleStringLiteralsExtended The String "p3" appears 2 times in the file. 1363
 Warning extension MultipleStringLiteralsExtended The String "s4" appears 2 times in the file. 1366
 Warning extension MultipleStringLiteralsExtended The String "p4" appears 2 times in the file. 1367
 Warning extension MultipleStringLiteralsExtended The String "fname3" appears 2 times in the file. 1372
 Warning extension MultipleStringLiteralsExtended The String "s5" appears 3 times in the file. 1376
 Warning extension MultipleStringLiteralsExtended The String "p5" appears 2 times in the file. 1377
 Warning extension MultipleStringLiteralsExtended The String "s6" appears 2 times in the file. 1380
 Warning extension MultipleStringLiteralsExtended The String "p6" appears 2 times in the file. 1381
 Warning extension MultipleStringLiteralsExtended The String "users.first" appears 2 times in the file. 1438
 Warning extension MultipleStringLiteralsExtended The String "array1" appears 3 times in the file. 1479

elasticsearch/src/test/java/org/elasticsearch/network/DirectBufferNetworkTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 73
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 114
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 126

elasticsearch/src/test/java/org/elasticsearch/node/internal/InternalSettingsPreparerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "es.node.zone" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "node.zone" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 47

elasticsearch/src/test/java/org/elasticsearch/nodesinfo/SimpleNodesInfoTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> done cluster_health, status " appears 2 times in the file. 68

elasticsearch/src/test/java/org/elasticsearch/operateAllIndices/DestructiveOperationsIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index1" appears 4 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "1index" appears 10 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 13 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "*" appears 4 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 4 times in the file. 154

elasticsearch/src/test/java/org/elasticsearch/percolator/ConcurrentPercolatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 21 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type" appears 11 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 13 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 10 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 7 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "value" appears 14 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 3 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "query" appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 79
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 99
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 125
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 209
 Warning extension MultipleStringLiteralsExtended The String "Error in indexing thread..." appears 2 times in the file. 211
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 268
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 348

elasticsearch/src/test/java/org/elasticsearch/percolator/MultiPercolatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 48 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "type" appears 30 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 18 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "--> register a queries" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "query" appears 11 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "b" appears 8 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "a" appears 14 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "2" appears 8 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "c" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "3" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "4" appears 10 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "b c" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "d" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "document missing" appears 3 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "illegal json" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "nestedindex" appears 5 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "company" appears 3 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "Q" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "companyname" appears 3 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "employee" appears 4 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "virginia potts" appears 2 times in the file. 363

elasticsearch/src/test/java/org/elasticsearch/percolator/PercolatorBackwardsCompatibilityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "query" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/percolator/PercolatorFacetsAndAggregationsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 5 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "b" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "a" appears 5 times in the file. 85

elasticsearch/src/test/java/org/elasticsearch/percolator/PercolatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 250 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "--> Add dummy doc" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "type" appears 109 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "1" appears 61 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 156 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "value" appears 33 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "--> register a queries" appears 7 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "query" appears 71 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "b" appears 32 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "a" appears 17 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "2" appears 44 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "c" appears 23 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "3" appears 25 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "4" appears 36 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "--> Percolate doc with field1=b" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "b c" appears 6 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "d" appears 6 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "5" appears 9 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "Exception should have been thrown" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 29 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "type=long" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 33 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 5 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 22 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 21 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 3 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "my-queries-index" appears 6 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 14 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "--> register a query" appears 7 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "color" appears 11 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 7 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 6 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "filingcategory" appears 2 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "string" appears 5 times in the file. 332
 Warning extension MultipleStringLiteralsExtended The String "source" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "productizer" appears 2 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 6 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "kuku" appears 8 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "--> register a query 1" appears 2 times in the file. 416
 Warning extension MultipleStringLiteralsExtended The String "--> register a query 2" appears 2 times in the file. 425
 Warning extension MultipleStringLiteralsExtended The String "bubu" appears 4 times in the file. 426
 Warning extension MultipleStringLiteralsExtended The String "green" appears 2 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 6 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "susu" appears 2 times in the file. 495
 Warning extension MultipleStringLiteralsExtended The String "red" appears 2 times in the file. 497
 Warning extension MultipleStringLiteralsExtended The String "field" appears 19 times in the file. 572
 Warning extension MultipleStringLiteralsExtended The String "val" appears 3 times in the file. 572
 Warning extension MultipleStringLiteralsExtended The String "--> Adding docs" appears 4 times in the file. 648
 Warning extension MultipleStringLiteralsExtended The String "--> Percolate existing doc with id 1" appears 2 times in the file. 672
 Warning extension MultipleStringLiteralsExtended The String "--> Percolate existing doc with id 2" appears 2 times in the file. 681
 Warning extension MultipleStringLiteralsExtended The String "--> Percolate existing doc with id 3" appears 2 times in the file. 690
 Warning extension MultipleStringLiteralsExtended The String "--> Percolate existing doc with id 4" appears 2 times in the file. 699
 Warning extension MultipleStringLiteralsExtended The String "--> registering queries" appears 2 times in the file. 794
 Warning extension MultipleStringLiteralsExtended The String "--> Percolate existing doc with id 2 and version 2" appears 2 times in the file. 821
 Warning extension MultipleStringLiteralsExtended The String "my-alias1" appears 3 times in the file. 892
 Warning extension MultipleStringLiteralsExtended The String "my-alias2" appears 2 times in the file. 894
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 897
 Warning extension MultipleStringLiteralsExtended The String "my-index" appears 33 times in the file. 924
 Warning extension MultipleStringLiteralsExtended The String "my-type" appears 23 times in the file. 943
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 6 times in the file. 944
 Warning extension MultipleStringLiteralsExtended The String "--> register " appears 2 times in the file. 1140
 Warning extension MultipleStringLiteralsExtended The String " queries" appears 2 times in the file. 1140
 Warning extension MultipleStringLiteralsExtended The String "level" appears 12 times in the file. 1144
 Warning extension MultipleStringLiteralsExtended The String "doc['level'].value" appears 8 times in the file. 1253
 Warning extension MultipleStringLiteralsExtended The String "jumps" appears 2 times in the file. 1427
 Warning extension MultipleStringLiteralsExtended The String "The quick brown fox jumps over the lazy dog" appears 6 times in the file. 1440
 Warning extension MultipleStringLiteralsExtended The String "The quick <em>brown</em> <em>fox</em> jumps over the lazy dog" appears 5 times in the file. 1455
 Warning extension MultipleStringLiteralsExtended The String "The quick brown fox jumps over the <em>lazy</em> <em>dog</em>" appears 5 times in the file. 1456
 Warning extension MultipleStringLiteralsExtended The String "The quick brown fox <em>jumps</em> over the lazy dog" appears 10 times in the file. 1457
 Warning extension MultipleStringLiteralsExtended The String "The quick brown fox jumps over the lazy <em>dog</em>" appears 5 times in the file. 1458
 Warning extension MultipleStringLiteralsExtended The String "The quick brown <em>fox</em> jumps over the lazy dog" appears 5 times in the file. 1459
 Warning extension MultipleStringLiteralsExtended The String "--> Top percolate for doc with field1=The quick brown fox jumps over the lazy dog" appears 3 times in the file. 1522
 Warning extension MultipleStringLiteralsExtended The String "message" appears 3 times in the file. 1695
 Warning extension MultipleStringLiteralsExtended The String "nestedindex" appears 12 times in the file. 1721
 Warning extension MultipleStringLiteralsExtended The String "company" appears 10 times in the file. 1721
 Warning extension MultipleStringLiteralsExtended The String "Q" appears 3 times in the file. 1725
 Warning extension MultipleStringLiteralsExtended The String "notmatching" appears 2 times in the file. 1741
 Warning extension MultipleStringLiteralsExtended The String "matching" appears 2 times in the file. 1742
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 6 times in the file. 1753
 Warning extension MultipleStringLiteralsExtended The String "dynamic" appears 2 times in the file. 1754
 Warning extension MultipleStringLiteralsExtended The String "custom" appears 3 times in the file. 1756
 Warning extension MultipleStringLiteralsExtended The String "color:red" appears 2 times in the file. 1777
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 4 times in the file. 1889
 Warning extension MultipleStringLiteralsExtended The String "now-1d" appears 2 times in the file. 1894
 Warning extension MultipleStringLiteralsExtended The String "now" appears 2 times in the file. 1894
 Warning extension MultipleStringLiteralsExtended The String "companyname" appears 3 times in the file. 1912
 Warning extension MultipleStringLiteralsExtended The String "employee" appears 4 times in the file. 1913
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 1914
 Warning extension MultipleStringLiteralsExtended The String "virginia potts" appears 2 times in the file. 1921
 Warning extension MultipleStringLiteralsExtended The String "{\n" appears 8 times in the file. 1948
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 7 times in the file. 1955
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 8 times in the file. 1956
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 7 times in the file. 1957
 Warning extension MultipleStringLiteralsExtended The String " }" appears 2 times in the file. 1958
 Warning extension MultipleStringLiteralsExtended The String " \"query\": {\n" appears 6 times in the file. 1968
 Warning extension MultipleStringLiteralsExtended The String " \"bool\": {\n" appears 6 times in the file. 1969
 Warning extension MultipleStringLiteralsExtended The String " \"must\": {\n" appears 3 times in the file. 1970
 Warning extension MultipleStringLiteralsExtended The String " \"match\": {\n" appears 4 times in the file. 1971
 Warning extension MultipleStringLiteralsExtended The String " \"name\": \"obama\"\n" appears 2 times in the file. 1972
 Warning extension MultipleStringLiteralsExtended The String " },\n" appears 6 times in the file. 1976
 Warning extension MultipleStringLiteralsExtended The String "\"text\":\"foo\"" appears 6 times in the file. 1977
 Warning extension MultipleStringLiteralsExtended The String "}" appears 6 times in the file. 1978
 Warning extension MultipleStringLiteralsExtended The String " \"must_not\": {\n" appears 3 times in the file. 1982
 Warning extension MultipleStringLiteralsExtended The String " \"persons.foo\": \"bar\"\n" appears 2 times in the file. 1996
 Warning extension MultipleStringLiteralsExtended The String " \"nested\": {\n" appears 2 times in the file. 2019
 Warning extension MultipleStringLiteralsExtended The String " \"path\": \"persons\",\n" appears 2 times in the file. 2020
 Warning extension MultipleStringLiteralsExtended The String " \"query\": {\n" appears 2 times in the file. 2021
 Warning extension MultipleStringLiteralsExtended The String " \"match\": {\n" appears 2 times in the file. 2022
 Warning extension MultipleStringLiteralsExtended The String " \"persons.foo\": \"bar\"\n" appears 2 times in the file. 2023
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 2024
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 2025
 Warning extension MultipleStringLiteralsExtended The String "q1" appears 2 times in the file. 2051
 Warning extension MultipleStringLiteralsExtended The String "q4" appears 2 times in the file. 2054
 Warning extension MultipleStringLiteralsExtended The String "q5" appears 2 times in the file. 2055
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2068
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 2070

elasticsearch/src/test/java/org/elasticsearch/percolator/RecoveryPercolatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 36 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 12 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 16 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 4 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "color" appears 5 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "--> register a query" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "kuku" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "query" appears 5 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 8 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 7 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Running Cluster Health (wait for the shards to startup)" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "Done Cluster Health, status " appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "--> register a queries" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "type" appears 8 times in the file. 205
 Warning extension MultipleStringLiteralsExtended The String "100" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "node.stay" appears 5 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "a" appears 2 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "_prefer_node:" appears 3 times in the file. 306
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 366

elasticsearch/src/test/java/org/elasticsearch/percolator/TTLPercolatorTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "indices.ttl.interval" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "_ttl" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 8 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 5 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "test" appears 20 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "kuku" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "term" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 107
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 179

elasticsearch/src/test/java/org/elasticsearch/plugins/PluggableTransportModuleTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "plugin.types" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "counting-pipelines-plugin" appears 2 times in the file. 78

elasticsearch/src/test/java/org/elasticsearch/plugins/PluginLuceneCheckerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "plugins.check_lucene" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "plugins." appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "es-plugin-test.properties" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "/org/elasticsearch/plugins/lucene/" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "--> server {} started" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "--> full json answer, status " appears 2 times in the file. 55

elasticsearch/src/test/java/org/elasticsearch/plugins/PluginManagerTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 77
 Warning extension MultipleStringLiteralsExtended The String "plugin_single_folder.zip" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "plugin-test" appears 8 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "bin" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Could not create bin directory [" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "Could not create config directory [" appears 2 times in the file. 107
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 154
 Warning extension MultipleStringLiteralsExtended The String "test.txt" appears 5 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "version1\n" appears 13 times in the file. 158
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 166
 Warning extension MultipleStringLiteralsExtended The String "test.txt.new" appears 3 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "version2\n" appears 4 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "dir/testdir.txt" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "dir/subdir/testsubdir.txt" appears 3 times in the file. 178
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 188
 Warning extension MultipleStringLiteralsExtended The String "plugin_without_folders.zip" appears 5 times in the file. 254
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 274
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "/" appears 4 times in the file. 327
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 359
 Warning extension MultipleStringLiteralsExtended The String "[{}{}] download service is not working. Disabling current test." appears 2 times in the file. 456
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 460
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 482
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 487

elasticsearch/src/test/java/org/elasticsearch/plugins/ResponseHeaderPluginTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "/_protected" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "Secret" appears 3 times in the file. 56

elasticsearch/src/test/java/org/elasticsearch/plugins/SitePluginTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "/_plugin/dummy/" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "<title>Dummy Site Plugin</title>" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "/_plugin/dummy/%2E%2E/%2E%2E/%2E%2E/%2E%2E/index.html" appears 2 times in the file. 104

elasticsearch/src/test/java/org/elasticsearch/plugins/responseheader/TestResponseHeaderRestAction.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Secret" appears 3 times in the file. 36

elasticsearch/src/test/java/org/elasticsearch/recovery/FullRollingRestartTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 80

elasticsearch/src/test/java/org/elasticsearch/recovery/RecoveriesCollectionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 59

elasticsearch/src/test/java/org/elasticsearch/recovery/RecoveryWhileUnderLoadTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> creating test index ..." appears 4 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test" appears 17 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "--> waiting for {} docs to be indexed ..." appears 10 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "--> {} docs indexed" appears 10 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "--> flushing the index ...." appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "--> allow 2 nodes for index [test] ..." appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "--> waiting for GREEN health status ..." appears 6 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "5m" appears 7 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String ">=2" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "--> marking and waiting for indexing threads to stop ..." appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "--> indexing threads stopped" appears 4 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "--> refreshing the index" appears 4 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "--> verifying indexed content" appears 4 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "--> allow 4 nodes for index [test] ..." appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String ">=4" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String ">=1" appears 2 times in the file. 219
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 334

elasticsearch/src/test/java/org/elasticsearch/recovery/RelocationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> starting [node1] ..." appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "--> creating test index ..." appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "test" appears 19 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 3 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 3 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "type" appears 7 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "testRelocationWhileIndexingRandom(numRelocations={}, numberOfReplicas={}, numberOfNodes={})" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "--> starting relocations..." appears 2 times in the file. 190
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 193
 Warning extension MultipleStringLiteralsExtended The String "--> START relocate the shard from {} to {}" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "--> DONE relocate the shard from {} to {}" appears 2 times in the file. 213
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 225
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 314
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 5 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "--> index [{}] documents" appears 2 times in the file. 337
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 346
 Warning extension MultipleStringLiteralsExtended The String "node.color" appears 3 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "red" appears 2 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "green" appears 2 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "color" appears 3 times in the file. 381
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 396
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 427
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 433
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 446
 Warning extension MultipleStringLiteralsExtended The String "1s" appears 2 times in the file. 455
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "_name" appears 2 times in the file. 469
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 519
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 559

elasticsearch/src/test/java/org/elasticsearch/recovery/SimpleRecoveryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 30 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Running Cluster Health" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 12 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "1" appears 12 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "2" appears 12 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/recovery/TruncatedRecoveryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "the_id" appears 4 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.include._name" appears 2 times in the file. 93
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 115

elasticsearch/src/test/java/org/elasticsearch/rest/BytesRestResponseTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "n1" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "v11" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "v12" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "n2" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "v21" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "v22" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "an error occurred reading data" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "/foo/bar" appears 5 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "ElasticsearchException[an error occurred reading data]" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "error_trace" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "FileNotFoundException[/foo/bar]" appears 3 times in the file. 73

elasticsearch/src/test/java/org/elasticsearch/rest/CorsRegexDefaultTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Origin" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Credentials" appears 2 times in the file. 49

elasticsearch/src/test/java/org/elasticsearch/rest/CorsRegexTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "http://localhost:9200" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 5 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "/" appears 7 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "User-Agent" appears 6 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Mozilla Bar" appears 6 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Origin" appears 5 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Credentials" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "http://evil-host:9200" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "null" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "Access-Control-Allow-Origin" appears 4 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "OPTIONS" appears 2 times in the file. 99

elasticsearch/src/test/java/org/elasticsearch/rest/FakeRestRequest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 52

elasticsearch/src/test/java/org/elasticsearch/rest/HeadersAndContextCopyClientTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "useful-" appears 6 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 250

elasticsearch/src/test/java/org/elasticsearch/rest/RestFilterChainTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 218

elasticsearch/src/test/java/org/elasticsearch/rest/RestRequestTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "val" appears 3 times in the file. 41
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 106

elasticsearch/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeReallyOldIndexTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 40

elasticsearch/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeTest.java

Severity Category Rule Message Line
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 60
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 79
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 86
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 105
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 157
 Warning extension MultipleStringLiteralsExtended The String "index " appears 5 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String " should not be zero sized" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "Index " appears 2 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String " has unupgraded segment " appears 2 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "size_in_bytes" appears 2 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String " is not an integer" appears 2 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "size_to_upgrade_in_bytes" appears 2 times in the file. 261
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 273

elasticsearch/src/test/java/org/elasticsearch/rest/util/RestUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "something" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "p" appears 4 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "v" appears 4 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "v1" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "a" appears 4 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "/https?:\\/\\/localhost(:[0-9]+)?/" appears 3 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "http.cors.allow-origin" appears 3 times in the file. 144

elasticsearch/src/test/java/org/elasticsearch/river/RiverTests.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 62
 Warning extension MultipleStringLiteralsExtended The String "_status" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "template_1" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "*" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "atype" appears 2 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145

elasticsearch/src/test/java/org/elasticsearch/routing/AliasResolveRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 28 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 17 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 5 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "alias10" appears 20 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "0" appears 32 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "alias20" appears 8 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "alias21" appears 9 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "1" appears 14 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "alias0" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 63
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 65
 Warning extension MultipleStringLiteralsExtended The String "should fail" appears 2 times in the file. 67
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 72
 Warning extension MultipleStringLiteralsExtended The String "0,1" appears 2 times in the file. 95
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 102
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 104
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 106
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 108
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 109
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 112
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 114
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 116
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 117
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 119
 Warning extension MultipleStringLiteralsExtended The String "0,1,2" appears 2 times in the file. 121
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 121
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 123

elasticsearch/src/test/java/org/elasticsearch/routing/AliasRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 41 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "alias0" appears 27 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "0" appears 25 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "--> indexing with id [1], and routing [0] using alias" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 54 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "1" appears 61 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "field" appears 17 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 12 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "--> verifying get with no routing, should not find anything" appears 9 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "--> verifying get with routing, should find" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 12 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "alias1" appears 12 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "alias01" appears 5 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "test-a" appears 6 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "test-b" appears 4 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "alias-a0" appears 5 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "alias-a1" appears 3 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "alias-b0" appears 3 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "alias-b1" appears 5 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "alias-ab" appears 4 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "index_2" appears 4 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "index_1" appears 4 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "--> indexing on index_1 which is an alias for index with routing [1]" appears 2 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "--> indexing on index_2 which is a concrete index" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 2 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "--> search all on index_* should find two" appears 2 times in the file. 298
 Warning extension MultipleStringLiteralsExtended The String "index_*" appears 2 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "--> indexing with id [1], and routing [0]" appears 2 times in the file. 339
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 344
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 359
 Warning extension MultipleStringLiteralsExtended The String "routing is required for [test]/[type1]/[1]" appears 2 times in the file. 363
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 376
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 392
 Warning extension MultipleStringLiteralsExtended The String "--> verifying get and search with routing, should find" appears 2 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "4" appears 3 times in the file. 407

elasticsearch/src/test/java/org/elasticsearch/routing/SimpleRoutingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 28 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "--> indexing with id [1], and routing [0]" appears 9 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 68 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "1" appears 68 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "0" appears 43 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "field" appears 13 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 14 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "--> verifying get with no routing, should not find anything" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "--> verifying get with routing, should find" appears 7 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "2" appears 13 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 6 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "_routing" appears 5 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "required" appears 5 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "--> verifying get with no routing, should fail" appears 4 times in the file. 187
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 190
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 205
 Warning extension MultipleStringLiteralsExtended The String "routing is required for [test]/[type1]/[1]" appears 10 times in the file. 210
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 223
 Warning extension MultipleStringLiteralsExtended The String "path" appears 3 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "routing_field" appears 8 times in the file. 239
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 240
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 240
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 249
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 259
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 290
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 321
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 351
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 366
 Warning extension MultipleStringLiteralsExtended The String "routing is required for [test]/[type1]/[2]" appears 3 times in the file. 371
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 379
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 2 times in the file. 387
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 391

elasticsearch/src/test/java/org/elasticsearch/script/GroovySandboxScriptTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "Method calls not allowed on [groovy.util.Eval]" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "[doc['foo'].value, 3, 4].isEmpty()" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "[doc['foo'].value, 3, 4].size()" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "--> script: " appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "{\"query\": {\"match_all\": {}}," appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "\"sort\":{\"_script\": {\"script\": \"" appears 2 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "; doc['foo'].value + 2\", \"type\": \"number\", \"lang\": \"groovy\"}}}" appears 2 times in the file. 142
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 144

elasticsearch/src/test/java/org/elasticsearch/script/GroovyScriptTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 14 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 8 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 10 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 7 times in the file. 68
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 71
 Warning extension MultipleStringLiteralsExtended The String "should have thrown an exception" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "should not contained NotSerializableTransportException" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "NotSerializableTransportException" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "should have contained GroovyScriptExecutionException" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "GroovyScriptExecutionException" appears 2 times in the file. 78
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 83
 Warning extension MultipleStringLiteralsExtended The String "groovy" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "quick brow fox jumped over the lazy dog" appears 2 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "fast jumping spiders" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "3" appears 5 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "dog spiders that can eat a dog" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "dog" appears 2 times in the file. 120

elasticsearch/src/test/java/org/elasticsearch/script/IndexLookupTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "1" appears 20 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "2" appears 19 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "3" appears 19 times in the file. 69
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 99
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 13 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "int_payload_field" appears 35 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "index_options" appears 4 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "offsets" appears 4 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 4 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "payload_int" appears 2 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "test" appears 19 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.payload_int.tokenizer" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 4 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.payload_int.filter" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "delimited_int" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.delimited_int.delimiter" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "|" appears 4 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.delimited_int.encoding" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "int" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.delimited_int.type" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "delimited_payload_filter" appears 4 times in the file. 140
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 177
 Warning extension MultipleStringLiteralsExtended The String "tvtest" appears 11 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "for doc " appears 5 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "b" appears 43 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "position" appears 10 times in the file. 234
 Warning extension MultipleStringLiteralsExtended The String "startOffset" appears 10 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "endOffset" appears 10 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "payloadAsInt(-1)" appears 11 times in the file. 240
 Warning extension MultipleStringLiteralsExtended The String "term = _index['int_payload_field'].get('" appears 2 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "'," appears 4 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "); array=[]; for (pos in term) {array.add(pos." appears 4 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String ")}; array" appears 3 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "term = _index['" appears 2 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "_FREQUENCIES" appears 4 times in the file. 311
 Warning extension MultipleStringLiteralsExtended The String "_POSITIONS" appears 4 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "_OFFSETS" appears 4 times in the file. 339
 Warning extension MultipleStringLiteralsExtended The String "_PAYLOADS" appears 4 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "float_payload_field" appears 5 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "term_vector" appears 2 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "string_payload_field" appears 4 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "4" appears 9 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "5" appears 9 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "6" appears 9 times in the file. 431
 Warning extension MultipleStringLiteralsExtended The String "Cannot iterate twice! If you want to iterate more that once, add _CACHE explicitely." appears 2 times in the file. 577

elasticsearch/src/test/java/org/elasticsearch/script/IndexedScriptTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "groovy" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "script1" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "{" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "scriptTest" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 57
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 67
 Warning extension MultipleStringLiteralsExtended The String "test_index" appears 5 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "test_type" appears 2 times in the file. 78

elasticsearch/src/test/java/org/elasticsearch/script/NativeScriptTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 53

elasticsearch/src/test/java/org/elasticsearch/script/OnDiskScriptTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 18 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "scriptTest" appears 18 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"foo\"}" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"foo 2\"}" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"foo 3\"}" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "4" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"foo 4\"}" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "{\"theField\":\"bar\"}" appears 3 times in the file. 55
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 62
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/script/SandboxDisabledTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 47
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 48
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 53

elasticsearch/src/test/java/org/elasticsearch/script/ScriptFieldTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 47
 Warning extension MultipleStringLiteralsExtended The String "test" appears 8 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "text" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "int" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "native" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "float" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "double" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "long" appears 4 times in the file. 62

elasticsearch/src/test/java/org/elasticsearch/script/ScriptIndexSettingsTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "groovy" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "{ \"script\": 1 }" appears 2 times in the file. 40
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 42
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 52
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 75
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 77
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 79
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 83

elasticsearch/src/test/java/org/elasticsearch/script/ScriptParameterParserTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "scriptValue" appears 86 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "script" appears 8 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 155 times in the file. 140
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 178
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 198
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 218
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 238
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 258
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 278
 Warning extension MultipleStringLiteralsExtended The String "{ \"foo\" : \"fooScriptValue\", \"bar_file\" : \"barScriptValue\", \"baz_id\" : \"bazScriptValue\" }" appears 2 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 63 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 60 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "bar_file" appears 52 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "baz_id" appears 54 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "fooScriptValue" appears 30 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "barScriptValue" appears 24 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "bazScriptValue" appears 23 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "myLang" appears 14 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "other" appears 14 times in the file. 426
 Warning extension MultipleStringLiteralsExtended The String "other_file" appears 11 times in the file. 449
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 515
 Warning extension MultipleStringLiteralsExtended The String "lang" appears 10 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "script_file" appears 2 times in the file. 549
 Warning extension MultipleStringLiteralsExtended The String "script_id" appears 4 times in the file. 576
 Warning extension MultipleStringLiteralsExtended The String "scriptId" appears 3 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "foo_file" appears 10 times in the file. 642
 Warning extension MultipleStringLiteralsExtended The String "foo_id" appears 10 times in the file. 655
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 665
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 676
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 687
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 698
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 709
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 720
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 877
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 898
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 919
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 940
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1055
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1067
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1079
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1091
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1103
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1115

elasticsearch/src/test/java/org/elasticsearch/script/ScriptServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test_script.tst" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 5 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "test_file" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "test_script" appears 6 times in the file. 82
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 91
 Warning extension MultipleStringLiteralsExtended The String "script" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 116

elasticsearch/src/test/java/org/elasticsearch/script/expression/ExpressionScriptTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 41 times in the file. 47
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 50
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 11 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "expression" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 24 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "1" appears 14 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "text" appears 9 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "3" appears 5 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "hello" appears 3 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "x" appears 12 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "type=long" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "y" appears 6 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "should have contained ExpressionScriptCompilationException" appears 7 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "ExpressionScriptCompilationException" appears 7 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "a" appears 3 times in the file. 128
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 128
 Warning extension MultipleStringLiteralsExtended The String "int_agg" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "double_agg" appears 2 times in the file. 226

elasticsearch/src/test/java/org/elasticsearch/script/mustache/MustacheScriptEngineTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "GET _search {\"query\": " appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "{\"boosting\": {" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "\"positive\": {\"match\": {\"body\": \"gift\"}}," appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "}}, \"negative_boost\": {{boost_val}} } }}" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "boost_val" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "0.3" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "GET _search {\"query\": {\"boosting\": {\"positive\": {\"match\": {\"body\": \"gift\"}}," appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "UTF-8" appears 2 times in the file. 57
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 85

elasticsearch/src/test/java/org/elasticsearch/search/MultiValueModeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " docId=" appears 8 times in the file. 139

elasticsearch/src/test/java/org/elasticsearch/search/SearchServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 10 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "1m" appears 3 times in the file. 41

elasticsearch/src/test/java/org/elasticsearch/search/StressSearchServiceReaperTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 55

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/AggregationsIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "f" appears 7 times in the file. 45

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/CombiTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 7 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "type" appears 6 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "missing_values" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "values" appears 4 times in the file. 87
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 106

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/ParsingTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 34
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 12 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "range" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "stock" appears 3 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "gt" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "field" appears 10 times in the file. 49
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 55
 Warning extension MultipleStringLiteralsExtended The String "by_date" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "date_histogram" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "timestamp" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "interval" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "month" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "aggs" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "tag_count" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "cardinality" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 4 times in the file. 69
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 83
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 116
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 136
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 158

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/RandomTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 20 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "values" appears 6 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "type" appears 11 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "range" appears 5 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "string_values" appears 4 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "long_values" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "long" appears 3 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "double_values" appears 3 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "double" appears 3 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "num" appears 7 times in the file. 190
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 210
 Warning extension MultipleStringLiteralsExtended The String "string_map" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 3 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "string_global_ordinals" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "string_global_ordinals_doc_values" appears 2 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 3 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "double_value" appears 3 times in the file. 306
 Warning extension MultipleStringLiteralsExtended The String "f" appears 3 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 3 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "*-6.0" appears 2 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "6.0-*" appears 2 times in the file. 350

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/AbstractTermsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 4 times in the file. 50

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/ChildrenTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 13 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "article" appears 6 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "index=not_analyzed" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "comment" appears 10 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "_parent" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "category" appears 11 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "randomized" appears 7 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "commenter" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "a" appears 10 times in the file. 106
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 106
 Warning extension MultipleStringLiteralsExtended The String "b" appears 5 times in the file. 107
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 107
 Warning extension MultipleStringLiteralsExtended The String "c" appears 11 times in the file. 108
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 108
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 109
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "to_comment" appears 11 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "commenters" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "top_comments" appears 7 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 2 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "child" appears 7 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "count" appears 7 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "1" appears 18 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "0" appears 2 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "2" appears 12 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "children" appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "counts" appears 2 times in the file. 241
 Warning extension MultipleStringLiteralsExtended The String "non-existing" appears 3 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "brand" appears 3 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 5 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "name" appears 10 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "material" appears 3 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "color" appears 16 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "size" appears 15 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 6 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "32" appears 3 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "34" appears 3 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "36" appears 5 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "black" appears 6 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "38" appears 3 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "40" appears 3 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "orange" appears 3 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "green" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "44" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "my-refinements" appears 2 times in the file. 306
 Warning extension MultipleStringLiteralsExtended The String "my-colors" appears 2 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "my-sizes" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "type=" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "europe" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "brussels" appears 2 times in the file. 353

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/DateHistogramOffsetTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx2" appears 13 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "type" appears 8 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "date" appears 12 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "type=date" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "2014-03-11T00:00:00+00:00" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "date_histo" appears 8 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "-2h" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "yyyy-MM-dd" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "2014-03-10" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "2014-03-11" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "2d" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "2014-03-13" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "2014-03-14" appears 2 times in the file. 169

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/DateHistogramTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 22 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "date" appears 31 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "value" appears 10 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "dates" appears 6 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 27 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "idx2" appears 14 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 85 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "+01:00" appears 8 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 10 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "max" appears 18 times in the file. 393
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 4 times in the file. 488
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 634
 Warning extension MultipleStringLiteralsExtended The String "doc['date'].value" appears 2 times in the file. 783
 Warning extension MultipleStringLiteralsExtended The String "doc['dates'].values" appears 2 times in the file. 861
 Warning extension MultipleStringLiteralsExtended The String "date_histo" appears 9 times in the file. 1012
 Warning extension MultipleStringLiteralsExtended The String "type=date" appears 5 times in the file. 1030
 Warning extension MultipleStringLiteralsExtended The String "2014-03-11T00:00:00+00:00" appears 2 times in the file. 1032
 Warning extension MultipleStringLiteralsExtended The String "-2:00" appears 2 times in the file. 1043
 Warning extension MultipleStringLiteralsExtended The String "yyyy-MM-dd" appears 2 times in the file. 1045
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1168
 Warning extension MultipleStringLiteralsExtended The String "test9491" appears 5 times in the file. 1271
 Warning extension MultipleStringLiteralsExtended The String "d" appears 13 times in the file. 1271
 Warning extension MultipleStringLiteralsExtended The String "test7673" appears 5 times in the file. 1288
 Warning extension MultipleStringLiteralsExtended The String "test8209" appears 6 times in the file. 1309

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/DateRangeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 18 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "date" appears 12 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "dates" appears 4 times in the file. 60
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 68
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "range" appears 54 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "doc['date'].value" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "a long time ago" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "now-50y" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "recently" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "now-1y" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "last year" appears 2 times in the file. 112
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 123
 Warning extension MultipleStringLiteralsExtended The String "*-2012-02-15T00:00:00.000Z" appears 26 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "2012-02-15T00:00:00.000Z" appears 32 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "2012-02-15T00:00:00.000Z-2012-03-15T00:00:00.000Z" appears 26 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "2012-03-15T00:00:00.000Z" appears 32 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "2012-03-15T00:00:00.000Z-*" appears 26 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "2012-02-15" appears 10 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "2012-03-15" appears 8 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "*-2012-02-15" appears 2 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String "2012-02-15-2012-03-15" appears 2 times in the file. 272
 Warning extension MultipleStringLiteralsExtended The String "2012-03-15-*" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "2012-02-15||+1M" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "r1" appears 9 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "r2" appears 9 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "r3" appears 9 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 4 times in the file. 416
 Warning extension MultipleStringLiteralsExtended The String "min" appears 8 times in the file. 477
 Warning extension MultipleStringLiteralsExtended The String "new DateTime(_value.longValue(), DateTimeZone.UTC).plusMonths(1).getMillis()" appears 2 times in the file. 607
 Warning extension MultipleStringLiteralsExtended The String "max" appears 8 times in the file. 673
 Warning extension MultipleStringLiteralsExtended The String "doc['dates'].values" appears 2 times in the file. 852
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 1124
 Warning extension MultipleStringLiteralsExtended The String "date_range" appears 3 times in the file. 1124
 Warning extension MultipleStringLiteralsExtended The String "0-1" appears 2 times in the file. 1124
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1135

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/DedicatedAggregationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testidx" appears 6 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "text" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "issue7240" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 2 times in the file. 53

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/DoubleTermsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 35 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "type" appears 34 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "num_tag" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "high_card_type" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 7 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "_term" appears 14 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "_count" appears 8 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "avg_l" appears 17 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "sum_d" appears 12 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "sort_idx" appears 12 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "multi_sort_type" appears 12 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "l" appears 11 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "d" appears 11 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 89 times in the file. 230
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 11 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "_value + 1" appears 3 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "1.0" appears 2 times in the file. 543
 Warning extension MultipleStringLiteralsExtended The String "doc['" appears 5 times in the file. 610
 Warning extension MultipleStringLiteralsExtended The String "'].value" appears 2 times in the file. 610
 Warning extension MultipleStringLiteralsExtended The String "']" appears 3 times in the file. 664
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 694
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 706
 Warning extension MultipleStringLiteralsExtended The String ".0" appears 2 times in the file. 731
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 797
 Warning extension MultipleStringLiteralsExtended The String "avg_i" appears 10 times in the file. 820
 Warning extension MultipleStringLiteralsExtended The String "subTerms" appears 2 times in the file. 851
 Warning extension MultipleStringLiteralsExtended The String "num_tags" appears 6 times in the file. 890
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 4 times in the file. 893
 Warning extension MultipleStringLiteralsExtended The String "0" appears 4 times in the file. 909
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 909
 Warning extension MultipleStringLiteralsExtended The String "tags" appears 3 times in the file. 928
 Warning extension MultipleStringLiteralsExtended The String "filter1" appears 3 times in the file. 932
 Warning extension MultipleStringLiteralsExtended The String "filter2" appears 3 times in the file. 933
 Warning extension MultipleStringLiteralsExtended The String "max" appears 3 times in the file. 934
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 982
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1001
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1022
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 9 times in the file. 1028
 Warning extension MultipleStringLiteralsExtended The String "Expected search to fail when trying to sort terms aggregation by multi-valued sug-aggregation " appears 2 times in the file. 1031
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1043
 Warning extension MultipleStringLiteralsExtended The String "stats.avg" appears 2 times in the file. 1101

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/FilterTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 55
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 8 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "tag1" appears 13 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "avg_value" appears 4 times in the file. 129
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 154
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 3 times in the file. 173

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/FiltersTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 58
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 10 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 11 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "tag1" appears 13 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "type" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "tag2" appears 10 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "tags" appears 12 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "all" appears 5 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "avg_value" appears 6 times in the file. 157
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 198
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "filters" appears 2 times in the file. 220

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/GeoDistanceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "city" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "location" appears 12 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 11 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "type=geo_point" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "type=string,index=not_analyzed" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "idx-multi" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "utrecht" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "52.0945, 5.116" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "haarlem" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "52.3890, 4.637" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "berlin" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "52.540, 13.409" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "prague" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "tel-aviv" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "32.0741, 34.777" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "london" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "singapour" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "tokyo" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "milan" appears 2 times in the file. 88
 Warning extension LogicConditionNeedOptimization Condition with || at line 103 position 32 need optimization. All method calls are advised to move to end of logic expression. 103
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "amsterdam_rings" appears 18 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "52.3760, 4.894" appears 7 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "*-500.0" appears 10 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "0.0" appears 7 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "500.0" appears 12 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "500.0-1000.0" appears 10 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "1000.0" appears 12 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "1000.0-*" appears 10 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "ring1" appears 3 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "ring2" appears 3 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "ring3" appears 3 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "cities" appears 4 times in the file. 326
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "geo_dist" appears 3 times in the file. 395
 Warning extension MultipleStringLiteralsExtended The String "0-100" appears 2 times in the file. 395
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 406

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/GeoHashGridTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "city" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "location" appears 11 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 7 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "type=geo_point" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "type=string,index=not_analyzed" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "multi_valued_idx" appears 3 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "geohashgrid" appears 14 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "Geohash " appears 5 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String " has wrong doc count " appears 5 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "filtered" appears 2 times in the file. 188

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/GlobalTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 5 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "tag1" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "global" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "value_stats" appears 3 times in the file. 79
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 108

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/HistogramTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 60
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 61
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 27 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 81 times in the file. 114
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 194
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 218
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 243
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 250
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 273
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 280
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 14 times in the file. 291
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 303
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 338
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 375
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 380
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 416
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 421
 Warning extension MultipleStringLiteralsExtended The String "stats.sum" appears 2 times in the file. 442
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 4 times in the file. 443
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 457
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 462
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 498
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 503
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 526
 Warning extension MultipleStringLiteralsExtended The String "max" appears 2 times in the file. 527
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 541
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 546
 Warning extension MultipleStringLiteralsExtended The String "_value + 1" appears 3 times in the file. 563
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 625
 Warning extension MultipleStringLiteralsExtended The String "doc['" appears 4 times in the file. 715
 Warning extension MultipleStringLiteralsExtended The String "'].value" appears 2 times in the file. 715
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 750
 Warning extension MultipleStringLiteralsExtended The String "']" appears 2 times in the file. 772
 Warning extension MultipleStringLiteralsExtended The String "sub_histo" appears 3 times in the file. 867
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 919

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/IPv4RangeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 16 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 13 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "type=ip" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "ips" appears 5 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "10.0.0." appears 3 times in the file. 61
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'i'. 61
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 63
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 63
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 3 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "range" appears 45 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.100" appears 86 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.200" appears 86 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "*-10.0.0.100" appears 26 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.100-10.0.0.200" appears 26 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.200-*" appears 26 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.0/25" appears 3 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.128/25" appears 3 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.0" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.128" appears 4 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "10.0.1.0" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "r1" appears 5 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "r2" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "r3" appears 3 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 4 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "max" appears 16 times in the file. 276
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.99" appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.199" appears 2 times in the file. 309
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.254" appears 2 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "_value" appears 3 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.255" appears 2 times in the file. 535
 Warning extension MultipleStringLiteralsExtended The String "doc['ip'].value" appears 2 times in the file. 542
 Warning extension MultipleStringLiteralsExtended The String "doc['ips'].values" appears 2 times in the file. 644
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 838
 Warning extension MultipleStringLiteralsExtended The String "ip_range" appears 3 times in the file. 839
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.1" appears 2 times in the file. 839
 Warning extension MultipleStringLiteralsExtended The String "10.0.0.10" appears 2 times in the file. 839
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 850

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/LongTermsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 34 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "type" appears 33 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "num_tag" appears 3 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "high_card_type" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 7 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "_term" appears 14 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "_count" appears 8 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "avg_l" appears 17 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "sum_d" appears 12 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "sort_idx" appears 12 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "multi_sort_type" appears 11 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "l" appears 11 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "d" appears 11 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 86 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 11 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "_value + 1" appears 2 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "1.0" appears 2 times in the file. 543
 Warning extension MultipleStringLiteralsExtended The String "doc['" appears 4 times in the file. 610
 Warning extension MultipleStringLiteralsExtended The String "']" appears 3 times in the file. 664
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 694
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 705
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 795
 Warning extension MultipleStringLiteralsExtended The String "avg_i" appears 10 times in the file. 818
 Warning extension MultipleStringLiteralsExtended The String "subTerms" appears 2 times in the file. 849
 Warning extension MultipleStringLiteralsExtended The String "num_tags" appears 6 times in the file. 888
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 4 times in the file. 891
 Warning extension MultipleStringLiteralsExtended The String "0" appears 4 times in the file. 907
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 907
 Warning extension MultipleStringLiteralsExtended The String "tags" appears 3 times in the file. 926
 Warning extension MultipleStringLiteralsExtended The String "filter1" appears 3 times in the file. 930
 Warning extension MultipleStringLiteralsExtended The String "filter2" appears 3 times in the file. 931
 Warning extension MultipleStringLiteralsExtended The String "max" appears 3 times in the file. 932
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 980
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 999
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1020
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 9 times in the file. 1026
 Warning extension MultipleStringLiteralsExtended The String "Expected search to fail when trying to sort terms aggregation by multi-valued sug-aggregation " appears 2 times in the file. 1029
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1041
 Warning extension MultipleStringLiteralsExtended The String "stats.avg" appears 2 times in the file. 1099

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/MinDocCountTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "match" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 8 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "type" appears 7 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "s" appears 13 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "l" appears 9 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "d" appears 11 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "date" appears 3 times in the file. 84
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 123
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 129
 Warning extension MultipleStringLiteralsExtended The String ".*a.*" appears 4 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 4 times in the file. 275
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 313
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 8 times in the file. 360

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/MissingTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 47
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 7 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 6 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "unmapped_idx" appears 6 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "missing_tag" appears 12 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "avg_value" appears 3 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "top_missing" appears 3 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "sub_missing" appears 3 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "missing" appears 3 times in the file. 192

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/NaNSortingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "numeric_field" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "long_value" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "double_value" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "string_value" appears 2 times in the file. 104
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 120
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 131
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 168

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/NestedTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 8 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "type" appears 21 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 26 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type=nested" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "incorrect" appears 2 times in the file. 68
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 87
 Warning extension MultipleStringLiteralsExtended The String "value" appears 12 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 4 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "idx_nested_nested_aggs" appears 4 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 7 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "nested1" appears 3 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "nested2" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "a" appears 7 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "b" appears 4 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "nested_value_stats" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "nested.value" appears 4 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "values" appears 3 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "top_values" appears 3 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "max_value" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "level1" appears 3 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "level2" appears 3 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 3 times in the file. 295
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 329
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 347
 Warning extension MultipleStringLiteralsExtended The String "provider" appears 5 times in the file. 361
 Warning extension MultipleStringLiteralsExtended The String "comments" appears 2 times in the file. 362
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 365
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 3 times in the file. 366
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 371
 Warning extension MultipleStringLiteralsExtended The String "object" appears 2 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "date" appears 3 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "format" appears 3 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "dateOptionalTime" appears 3 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "idx2" appears 5 times in the file. 391
 Warning extension MultipleStringLiteralsExtended The String "2" appears 9 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "startDate" appears 2 times in the file. 403
 Warning extension MultipleStringLiteralsExtended The String "endDate" appears 3 times in the file. 404
 Warning extension MultipleStringLiteralsExtended The String "period" appears 3 times in the file. 405
 Warning extension MultipleStringLiteralsExtended The String "ctxt_idfier_nested" appears 3 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "comment_filter" appears 3 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "nested_tags" appears 3 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 3 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "idx4" appears 5 times in the file. 460
 Warning extension MultipleStringLiteralsExtended The String "product" appears 4 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "categories" appears 4 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "property" appears 9 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "3" appears 6 times in the file. 468
 Warning extension MultipleStringLiteralsExtended The String "4" appears 4 times in the file. 468
 Warning extension MultipleStringLiteralsExtended The String "id" appears 6 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "category" appears 2 times in the file. 487
 Warning extension MultipleStringLiteralsExtended The String "property_id" appears 5 times in the file. 489
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 509

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/ParentIdAggTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "childtype" appears 5 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "_parent" appears 2 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "testidx" appears 5 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "num" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "children" appears 3 times in the file. 55

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/RangeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 19 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "range" appears 56 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "*-3.0" appears 25 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "3.0" appears 31 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "3.0-6.0" appears 27 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "6.0" appears 31 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "6.0-*" appears 25 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "*-3" appears 2 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "3-6" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "6-*" appears 2 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "r1" appears 6 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "r2" appears 6 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "r3" appears 6 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 18 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 8 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "_value + 1" appears 3 times in the file. 403
 Warning extension MultipleStringLiteralsExtended The String "doc['" appears 4 times in the file. 649
 Warning extension MultipleStringLiteralsExtended The String "'].value" appears 2 times in the file. 649
 Warning extension MultipleStringLiteralsExtended The String "*--1.0" appears 2 times in the file. 768
 Warning extension MultipleStringLiteralsExtended The String "1000.0-*" appears 2 times in the file. 777
 Warning extension MultipleStringLiteralsExtended The String "'].values" appears 2 times in the file. 791
 Warning extension MultipleStringLiteralsExtended The String "*-5.0" appears 2 times in the file. 1026
 Warning extension MultipleStringLiteralsExtended The String "5.0" appears 2 times in the file. 1032
 Warning extension MultipleStringLiteralsExtended The String "4.0-5.0" appears 2 times in the file. 1044
 Warning extension MultipleStringLiteralsExtended The String "4.0" appears 2 times in the file. 1049
 Warning extension MultipleStringLiteralsExtended The String "4.0-*" appears 2 times in the file. 1053
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 1067
 Warning extension MultipleStringLiteralsExtended The String "0-2" appears 2 times in the file. 1068
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 1079

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/ReverseNestedTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 8 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 9 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 22 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type" appears 14 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "string" appears 7 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "nested1" appears 16 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 9 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "nested2" appears 5 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "a" appears 15 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "b" appears 14 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "c" appears 18 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "1" appears 17 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "2" appears 9 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "3" appears 6 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "4" appears 8 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "d" appears 12 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "6" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "7" appears 4 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "e" appears 10 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "8" appears 3 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "9" appears 3 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "x" appears 3 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "z" appears 3 times in the file. 91
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 94
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 94
 Warning extension MultipleStringLiteralsExtended The String "0" appears 13 times in the file. 94
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 94
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 94
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 95
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 95
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 95
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 98
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 98
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 98
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 99
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 99
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 99
 Warning extension MultipleStringLiteralsExtended The String "f" appears 3 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "nested1_to_field1" appears 17 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "nested1_to_root" appears 3 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "root_to_nested2" appears 3 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "nested1.nested2" appears 3 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "nested1.nested2.field2" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "nested1.field1" appears 2 times in the file. 353
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 445
 Warning extension MultipleStringLiteralsExtended The String "incorrect" appears 2 times in the file. 464
 Warning extension MultipleStringLiteralsExtended The String "product" appears 3 times in the file. 477
 Warning extension MultipleStringLiteralsExtended The String "category" appears 4 times in the file. 479
 Warning extension MultipleStringLiteralsExtended The String "name" appears 15 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "sku" appears 5 times in the file. 485
 Warning extension MultipleStringLiteralsExtended The String "sku_type" appears 8 times in the file. 488
 Warning extension MultipleStringLiteralsExtended The String "colors" appears 6 times in the file. 489
 Warning extension MultipleStringLiteralsExtended The String "idx3" appears 4 times in the file. 499
 Warning extension MultipleStringLiteralsExtended The String "bar1" appears 5 times in the file. 508
 Warning extension MultipleStringLiteralsExtended The String "red" appears 3 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 519
 Warning extension MultipleStringLiteralsExtended The String "bar2" appears 2 times in the file. 531
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 3 times in the file. 544
 Warning extension MultipleStringLiteralsExtended The String "klm" appears 3 times in the file. 545
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 3 times in the file. 546
 Warning extension MultipleStringLiteralsExtended The String "nested_0" appears 4 times in the file. 553
 Warning extension MultipleStringLiteralsExtended The String "group_by_category" appears 4 times in the file. 554
 Warning extension MultipleStringLiteralsExtended The String "category.name" appears 2 times in the file. 554
 Warning extension MultipleStringLiteralsExtended The String "to_root" appears 4 times in the file. 555
 Warning extension MultipleStringLiteralsExtended The String "nested_1" appears 4 times in the file. 556
 Warning extension MultipleStringLiteralsExtended The String "filter_by_sku" appears 4 times in the file. 557
 Warning extension MultipleStringLiteralsExtended The String "sku.sku_type" appears 2 times in the file. 557
 Warning extension MultipleStringLiteralsExtended The String "sku_count" appears 4 times in the file. 558
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 572
 Warning extension MultipleStringLiteralsExtended The String "Checking results for bucket {}" appears 2 times in the file. 573
 Warning extension MultipleStringLiteralsExtended The String "nested_2" appears 2 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "filter_sku_color" appears 2 times in the file. 594
 Warning extension MultipleStringLiteralsExtended The String "reverse_to_sku" appears 2 times in the file. 595
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 613

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/ShardReduceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 16 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 3 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "location" appears 3 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "date" appears 17 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "term-l" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "term-d" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "term-s" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "term" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 5 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "global" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 28 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 4 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "missing" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 6 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "range" appears 6 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "r1" appears 6 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "topHisto" appears 4 times in the file. 272
 Warning extension MultipleStringLiteralsExtended The String "grid" appears 2 times in the file. 305

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/ShardSizeTermsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type=string,index=not_analyzed" appears 5 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 15 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "type" appears 15 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "keys" appears 30 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "key" appears 15 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "3" appears 5 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "type=long" appears 5 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "type=double" appears 5 times in the file. 296

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/ShardSizeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "key" appears 2 times in the file. 67
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 72
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "2" appears 8 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 94

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/SignificantTermsBackwardCompatibilityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "class" appears 3 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "0" appears 8 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "1" appears 7 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "sig_terms" appears 3 times in the file. 103
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 112
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 117

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/SignificantTermsSignificanceScoreTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 11 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "class" appears 18 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "long" appears 5 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "{\"index.number_of_shards\": 1, \"index.number_of_replicas\": 0}" appears 4 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "sig_terms" appears 19 times in the file. 98
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 111
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 143
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 150
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(protected)'. 186
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 258
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 263
 Warning extension MultipleStringLiteralsExtended The String "constant" appears 4 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "one" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "1" appears 24 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 292
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "0" appears 19 times in the file. 350
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 367
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 371
 Warning extension MultipleStringLiteralsExtended The String "\"}}}}" appears 2 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "test" appears 11 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "mySignificantTerms" appears 8 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 442
 Warning extension MultipleStringLiteralsExtended The String "A\ta" appears 2 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "A\tb" appears 3 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "B\tc" appears 4 times in the file. 452
 Warning extension MultipleStringLiteralsExtended The String "B\td" appears 5 times in the file. 456
 Warning extension MultipleStringLiteralsExtended The String "{\"field\":\"a\"}" appears 2 times in the file. 498
 Warning extension MultipleStringLiteralsExtended The String "{\"field\":\"b\"}" appears 2 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "{\"field\":\"a b\"}" appears 2 times in the file. 502
 Warning extension MultipleStringLiteralsExtended The String "letters" appears 3 times in the file. 509
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 509
 Warning extension MultipleStringLiteralsExtended The String "return _subset_freq + _subset_size + _superset_freq + _superset_size" appears 2 times in the file. 543
 Warning extension MultipleStringLiteralsExtended The String "return param*(_subset_freq + _subset_size + _superset_freq + _superset_size)/param" appears 2 times in the file. 545
 Warning extension MultipleStringLiteralsExtended The String "my_script" appears 2 times in the file. 555

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/SignificantTermsTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 70
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 72
 Warning extension MultipleStringLiteralsExtended The String "test" appears 19 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "fact" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "routing_id" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "fact_category" appears 7 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "description" appears 17 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 16 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "terje" appears 11 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "mySignificantTerms" appears 34 times in the file. 118
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 125
 Warning extension MultipleStringLiteralsExtended The String "paul" appears 7 times in the file. 133
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension MultipleStringLiteralsExtended The String "weller" appears 11 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "jam" appears 4 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "council" appears 3 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "style" appears 3 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "of" appears 2 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "the" appears 2 times in the file. 164
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 183
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 321
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 337
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 342
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 344
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 349
 Warning extension MultipleStringLiteralsExtended The String "craig" appears 2 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "kelly" appears 3 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "haakonsen" appears 2 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "burton" appears 2 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "myCategories" appears 2 times in the file. 355
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 366
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 400
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 401
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 402
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 403
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 404

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/StringTermsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "s_values" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 50 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "type" appears 39 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "val" appears 47 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "i" appears 14 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 5 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "more" appears 9 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "less" appears 9 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "high_card_type" appears 12 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 6 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 7 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "_term" appears 14 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "val1" appears 9 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "_count" appears 8 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "avg_l" appears 17 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "sum_d" appears 12 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "val2" appears 9 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "val3" appears 11 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "val4" appears 10 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "val5" appears 10 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "val6" appears 9 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "val7" appears 9 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "sort_idx" appears 12 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "multi_sort_type" appears 11 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "l" appears 11 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "d" appears 11 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 126 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "val00.+" appears 3 times in the file. 319
 Warning extension MultipleStringLiteralsExtended The String "val00" appears 14 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "val0[1-9]+.+" appears 2 times in the file. 369
 Warning extension MultipleStringLiteralsExtended The String "val000" appears 2 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "val001" appears 2 times in the file. 470
 Warning extension MultipleStringLiteralsExtended The String "count" appears 12 times in the file. 640
 Warning extension MultipleStringLiteralsExtended The String "'foo_' + _value" appears 3 times in the file. 696
 Warning extension MultipleStringLiteralsExtended The String "foo_val" appears 6 times in the file. 707
 Warning extension MultipleStringLiteralsExtended The String "doc['" appears 6 times in the file. 770
 Warning extension MultipleStringLiteralsExtended The String "']" appears 3 times in the file. 770
 Warning extension MultipleStringLiteralsExtended The String "]" appears 5 times in the file. 871
 Warning extension MultipleStringLiteralsExtended The String "'].value" appears 3 times in the file. 882
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 6 times in the file. 1061
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 1086
 Warning extension MultipleStringLiteralsExtended The String "avg_i" appears 7 times in the file. 1110
 Warning extension MultipleStringLiteralsExtended The String "tags" appears 12 times in the file. 1138
 Warning extension MultipleStringLiteralsExtended The String "filter1" appears 9 times in the file. 1182
 Warning extension MultipleStringLiteralsExtended The String "filter2" appears 3 times in the file. 1183
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 14 times in the file. 1184
 Warning extension MultipleStringLiteralsExtended The String "filt.er2" appears 2 times in the file. 1231
 Warning extension MultipleStringLiteralsExtended The String "[" appears 4 times in the file. 1232
 Warning extension MultipleStringLiteralsExtended The String ">" appears 6 times in the file. 1232
 Warning extension MultipleStringLiteralsExtended The String "st.ats" appears 2 times in the file. 1234
 Warning extension MultipleStringLiteralsExtended The String "filter1>" appears 2 times in the file. 1243
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1357
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1377
 Warning extension MultipleStringLiteralsExtended The String "values" appears 2 times in the file. 1383
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1399
 Warning extension MultipleStringLiteralsExtended The String "Expected search to fail when trying to sort terms aggregation by multi-valued sug-aggregation " appears 2 times in the file. 1408
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1420
 Warning extension MultipleStringLiteralsExtended The String "stats.avg" appears 2 times in the file. 1481
 Warning extension MultipleStringLiteralsExtended The String "stats.sum_of_squares" appears 2 times in the file. 1547
 Warning extension MultipleStringLiteralsExtended The String "subTerms" appears 2 times in the file. 1581

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/TermsDocCountErrorTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 8 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "type" appears 49 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "val" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "idx_single_shard" appears 39 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "idx_with_routing" appears 4 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 59 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "sortAgg" appears 24 times in the file. 384

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/TermsShardMinDocCountTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "{\"properties\":{\"text\": {\"type\": \"" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "\"}}}" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "inclass" appears 4 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "class" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "mySignificantTerms" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "{\"text\": \"" appears 3 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "\", \"class\":" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "myTerms" appears 4 times in the file. 134

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/TopHitsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 22 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 23 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "empty" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "articles" appears 9 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "article" appears 5 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "comments" appears 28 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "type" appears 16 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "date" appears 11 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "message" appears 13 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "reviewers" appears 11 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "name" appears 15 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "val" appears 4 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "text" appears 19 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "some text to entertain" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "field-collapsing" appears 11 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "1" appears 11 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "group" appears 11 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "a" appears 9 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "b" appears 10 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "x y z term" appears 2 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "term rare" appears 3 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "c" appears 8 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "9" appears 2 times in the file. 157
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 164
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "user" appears 5 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "some text" appears 2 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "title" appears 6 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "body" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "some comment" appears 3 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "user a" appears 2 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "user b" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "user c" appears 4 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "some other comment" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "user d" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "user e" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "user f" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "hits" appears 22 times in the file. 228
 Warning extension MultipleStringLiteralsExtended The String "val0" appears 2 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "][" appears 2 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "max_sort" appears 3 times in the file. 311
 Warning extension MultipleStringLiteralsExtended The String "max_score" appears 2 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "script" appears 4 times in the file. 407
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 452
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 490
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 513
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 522
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 546
 Warning extension MultipleStringLiteralsExtended The String "to-comments" appears 9 times in the file. 596
 Warning extension MultipleStringLiteralsExtended The String "users" appears 2 times in the file. 599
 Warning extension MultipleStringLiteralsExtended The String "comments.user" appears 3 times in the file. 600
 Warning extension MultipleStringLiteralsExtended The String "top-comments" appears 8 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "comments.date" appears 3 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "to-reviewers" appears 2 times in the file. 651
 Warning extension MultipleStringLiteralsExtended The String "top-reviewers" appears 2 times in the file. 653
 Warning extension MultipleStringLiteralsExtended The String "comments.message" appears 2 times in the file. 748
 Warning extension MultipleStringLiteralsExtended The String "comment" appears 2 times in the file. 748
 Warning extension MultipleStringLiteralsExtended The String "dates" appears 2 times in the file. 810

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/nested/NestedAggregatorTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type#1" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "__nested_field" appears 5 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "type#2" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "type#3" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "nested_field" appears 2 times in the file. 114

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificanceHeuristicTests.java

Severity Category Rule Message Line
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 97
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 99
 Warning extension MultipleStringLiteralsExtended The String "some_name" appears 2 times in the file. 109
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 145
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 147
 Warning extension MultipleStringLiteralsExtended The String ", \"background_is_superset\":" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 151
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 155
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 156
 Warning extension MultipleStringLiteralsExtended The String "{\"field\":\"text\", " appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "testagg" appears 3 times in the file. 182
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 185
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 219
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 226
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 233
 Warning extension MultipleStringLiteralsExtended The String "subsetFreq > subsetSize" appears 3 times in the file. 233
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 240
 Warning extension MultipleStringLiteralsExtended The String "supersetFreq > supersetSize" appears 3 times in the file. 240
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 257
 Warning extension MultipleStringLiteralsExtended The String "Frequencies of subset and superset must be positive" appears 3 times in the file. 257
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 264
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 271
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 281
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 294
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 301
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 308
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 363

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/AbstractNumericTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 35
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 2 times in the file. 62

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/AvgTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 48 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 14 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "_value + 1" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "_value + inc" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "inc" appears 5 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "values" appears 3 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "doc['value'].value + inc" appears 2 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "[ doc['value'].value, doc['value'].value + 1 ]" appears 2 times in the file. 238

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/CardinalityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 22 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type" appears 36 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "str_value" appears 8 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "hash" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "murmur3" appears 6 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "str_values" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "l_value" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "l_values" appears 3 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "d_value" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "double" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "d_values" appears 3 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "s" appears 3 times in the file. 116
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 117
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 121
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 3 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String ".hash" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "cardinality" appears 60 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "str_values.hash" appears 2 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "doc['" appears 2 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "_value" appears 4 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 4 times in the file. 408

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/ExtendedStatsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "value" appears 8 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 51 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 15 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "0010.0" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "inc" appears 3 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String "values" appears 3 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "dec" appears 2 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "doc['value'].value + inc" appears 2 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "doc['values'].values" appears 2 times in the file. 403

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/GeoBoundsTests.java

Severity Category Rule Message Line
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 66
 Warning extension MultipleVariableDeclarationsExtended Each variable declaration must be in its own statement. 67
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "type" appears 8 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "type=geo_point" appears 7 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "type=long" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 9 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "type=string,index=not_analyzed" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "empty_idx" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "idx_dateline" appears 4 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "high_card_idx" appears 5 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "Hit " appears 4 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String " with id: " appears 2 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "geoBounds" appears 24 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 3 times in the file. 352

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/MaxTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "max" appears 48 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 14 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "_value + 1" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "_value + inc" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "inc" appears 5 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "values" appears 3 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "doc['value'].value + inc" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "doc['values'].values" appears 2 times in the file. 240

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/MinTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "min" appears 51 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 15 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "_value - 1" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "_value - dec" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "dec" appears 5 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "values" appears 4 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "doc['value'].value - dec" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "doc['values'].values" appears 2 times in the file. 256

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/PercentileRanksTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "value" appears 8 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "percentile_ranks" appears 39 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 16 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "_value - 1" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "_value - dec" appears 2 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "dec" appears 5 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "values" appears 4 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "doc['value'].value - dec" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "doc['values'].values" appears 2 times in the file. 336

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/PercentilesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 4 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "percentiles" appears 37 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 15 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "_value - 1" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "_value - dec" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "dec" appears 5 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "values" appears 4 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "doc['value'].value - dec" appears 2 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "doc['values'].values" appears 2 times in the file. 320

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/ScriptedMetricTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 20 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "l_value" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "empty_bucket_idx" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "initScript_indexed" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "mapScript_indexed" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "combineScript_indexed" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "reduceScript_indexed" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "scripted" appears 42 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "count" appears 3 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "_agg" appears 13 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "_agg.add(1)" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "multiplier" appears 13 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "vars" appears 12 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "vars.multiplier = 3" appears 7 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "_agg.add(vars.multiplier)" appears 9 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "newaggregation = []; sum = 0;for (a in _agg) { sum += a}; newaggregation.add(sum); return newaggregation" appears 7 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "newaggregation = []; sum = 0;for (aggregation in _aggs) { for (a in aggregation) { sum += a} }; newaggregation.add(sum); return newaggregation" appears 6 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 5 times in the file. 600

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/StatsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 48 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 14 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "0010.0" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "inc" appears 3 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "values" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "dec" appears 2 times in the file. 236
 Warning extension MultipleStringLiteralsExtended The String "doc['value'].value + inc" appears 2 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "doc['values'].values" appears 2 times in the file. 320

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/SumTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "histo" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 48 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 14 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "_value + 1" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "_value + increment" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "increment" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "doc['value'].value + inc" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "inc" appears 3 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "[ doc['value'].value, doc['value'].value + 1 ]" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "values" appears 3 times in the file. 242

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/ValueCountTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 9 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "idx_unmapped" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "values" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "count" appears 24 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "s" appears 2 times in the file. 151

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/metrics/cardinality/HyperLogLogPlusPlusTests.java

Severity Category Rule Message Line
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 91
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 134

elasticsearch/src/test/java/org/elasticsearch/search/aggregations/support/PathTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "foo.bar" appears 3 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "qux" appears 4 times in the file. 53

elasticsearch/src/test/java/org/elasticsearch/search/basic/SearchWhileCreatingIndexTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 14 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "field" appears 5 times in the file. 77

elasticsearch/src/test/java/org/elasticsearch/search/basic/SearchWhileRelocatingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "loc" appears 2 times in the file. 74
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numDocs'. 85
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numDocs'. 105
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 119
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 120
 Warning extension MultipleStringLiteralsExtended The String "numberOfReplicas: " appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String " failed in iteration " appears 2 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String ", verification: " appears 2 times in the file. 152

elasticsearch/src/test/java/org/elasticsearch/search/basic/SearchWithRandomExceptionsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 13 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "test" appears 26 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_replicas" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "creating index: [test] using settings: [{}]" appears 3 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String "init" appears 3 times in the file. 111
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 136
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 151
 Warning extension MultipleStringLiteralsExtended The String "Start Refresh" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "Refresh failed [{}] numShardsFailed: [{}], shardFailuresLength: [{}], successfulShards: [{}], totalShards: [{}] " appears 2 times in the file. 165
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 169
 Warning extension MultipleStringLiteralsExtended The String "Searching for [test:{}]" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "Successful shards: [{}] numShards: [{}]" appears 2 times in the file. 175
 Warning extension LogicConditionNeedOptimization Condition with && at line 176 position 83 need optimization. All method calls are advised to move to end of logic expression. 176
 Warning extension MultipleStringLiteralsExtended The String "Match all Successful shards: [{}] numShards: [{}]" appears 2 times in the file. 182
 Warning extension LogicConditionNeedOptimization Condition with && at line 183 position 83 need optimization. All method calls are advised to move to end of logic expression. 183
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 212
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 272
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 290
 Warning extension LogicConditionNeedOptimization Condition with && at line 297 position 78 need optimization. All method calls are advised to move to end of logic expression. 297
 Warning extension LogicConditionNeedOptimization Condition with && at line 303 position 78 need optimization. All method calls are advised to move to end of logic expression. 303
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 314
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 315

elasticsearch/src/test/java/org/elasticsearch/search/basic/TransportSearchFailuresTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 55
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 68
 Warning extension MultipleStringLiteralsExtended The String "{ xxx }" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "search should fail" appears 2 times in the file. 73
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 97

elasticsearch/src/test/java/org/elasticsearch/search/basic/TransportTwoNodesSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 34 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "nid" appears 6 times in the file. 108
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "age" appears 3 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "multi" appears 10 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "id[" appears 8 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "]" appears 10 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "make sure we don't have duplicates" appears 4 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "make sure we got all [" appears 2 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "all" appears 2 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 3 times in the file. 347
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 364
 Warning extension MultipleStringLiteralsExtended The String "Done Testing failed search" appears 4 times in the file. 374
 Warning extension MultipleStringLiteralsExtended The String "Start Testing failed multi search with a wrong query" appears 2 times in the file. 412

elasticsearch/src/test/java/org/elasticsearch/search/builder/SearchSourceBuilderTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 12 times in the file. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 53
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 57
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 57
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 2 times in the file. 82

elasticsearch/src/test/java/org/elasticsearch/search/child/ParentFieldLoadingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 22 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 11 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "child" appears 13 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "1" appears 15 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 11 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "_parent" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "type=parent" appears 2 times in the file. 81
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 163
 Warning extension MultipleStringLiteralsExtended The String "dummy" appears 2 times in the file. 169

elasticsearch/src/test/java/org/elasticsearch/search/child/SimpleChildQuerySearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 477 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 161 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "child" appears 258 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "_parent" appears 73 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "type=parent" appears 39 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "grandchild" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "p1" appears 105 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "p_field" appears 101 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "p_value1" appears 23 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "c1" appears 38 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "c_field" appears 165 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "c_value1" appears 4 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "gc1" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "gc_field" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "gc_value1" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 24 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "type=foo" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "1" appears 97 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "2" appears 53 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "red" appears 44 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "c2" appears 23 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "yellow" appears 25 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "p2" appears 68 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "p_value2" appears 23 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "c3" appears 21 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 40 times in the file. 185
 Warning extension MultipleStringLiteralsExtended The String "c4" appears 17 times in the file. 186
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 273
 Warning extension MultipleStringLiteralsExtended The String "index.refresh_interval" appears 8 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "p0" appears 4 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "max" appears 22 times in the file. 388
 Warning extension MultipleStringLiteralsExtended The String "score" appears 11 times in the file. 392
 Warning extension MultipleStringLiteralsExtended The String "p" appears 5 times in the file. 416
 Warning extension MultipleStringLiteralsExtended The String "c" appears 4 times in the file. 421
 Warning extension MultipleStringLiteralsExtended The String "facet1" appears 2 times in the file. 555
 Warning extension MultipleStringLiteralsExtended The String "\"p_value1\"" appears 4 times in the file. 595
 Warning extension MultipleStringLiteralsExtended The String "\"p_value1_updated\"" appears 2 times in the file. 614
 Warning extension MultipleStringLiteralsExtended The String "c_field:*" appears 3 times in the file. 642
 Warning extension MultipleStringLiteralsExtended The String "c_field1" appears 21 times in the file. 693
 Warning extension MultipleStringLiteralsExtended The String "c_field2" appears 24 times in the file. 693
 Warning extension MultipleStringLiteralsExtended The String "even" appears 2 times in the file. 693
 Warning extension MultipleStringLiteralsExtended The String "p3" appears 12 times in the file. 700
 Warning extension MultipleStringLiteralsExtended The String "p4" appears 11 times in the file. 710
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 725
 Warning extension MultipleStringLiteralsExtended The String "not implemented yet..." appears 4 times in the file. 789
 Warning extension MultipleStringLiteralsExtended The String "3" appears 56 times in the file. 820
 Warning extension MultipleStringLiteralsExtended The String "4" appears 38 times in the file. 822
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 824
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 826
 Warning extension MultipleStringLiteralsExtended The String "10" appears 2 times in the file. 838
 Warning extension MultipleStringLiteralsExtended The String "11" appears 2 times in the file. 840
 Warning extension MultipleStringLiteralsExtended The String "12" appears 2 times in the file. 842
 Warning extension MultipleStringLiteralsExtended The String "p_field1" appears 2 times in the file. 848
 Warning extension MultipleStringLiteralsExtended The String "p_value3" appears 6 times in the file. 848
 Warning extension MultipleStringLiteralsExtended The String "13" appears 3 times in the file. 849
 Warning extension MultipleStringLiteralsExtended The String "c_field3" appears 8 times in the file. 850
 Warning extension MultipleStringLiteralsExtended The String "14" appears 3 times in the file. 851
 Warning extension MultipleStringLiteralsExtended The String "15" appears 3 times in the file. 853
 Warning extension MultipleStringLiteralsExtended The String "16" appears 3 times in the file. 856
 Warning extension MultipleStringLiteralsExtended The String "17" appears 3 times in the file. 858
 Warning extension MultipleStringLiteralsExtended The String "18" appears 3 times in the file. 860
 Warning extension MultipleStringLiteralsExtended The String "child1" appears 5 times in the file. 862
 Warning extension MultipleStringLiteralsExtended The String "doc['c_field1'].value" appears 3 times in the file. 882
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 15 times in the file. 883
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 11 times in the file. 915
 Warning extension MultipleStringLiteralsExtended The String "text" appears 6 times in the file. 960
 Warning extension MultipleStringLiteralsExtended The String "value" appears 16 times in the file. 960
 Warning extension MultipleStringLiteralsExtended The String "ConstantScore(BooleanFilter(" appears 2 times in the file. 1072
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 3 times in the file. 1093
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1111
 Warning extension MultipleStringLiteralsExtended The String "p000" appears 2 times in the file. 1118
 Warning extension MultipleStringLiteralsExtended The String "p001" appears 2 times in the file. 1119
 Warning extension MultipleStringLiteralsExtended The String "p002" appears 2 times in the file. 1120
 Warning extension MultipleStringLiteralsExtended The String "p003" appears 2 times in the file. 1121
 Warning extension MultipleStringLiteralsExtended The String "p004" appears 2 times in the file. 1122
 Warning extension MultipleStringLiteralsExtended The String "x" appears 9 times in the file. 1162
 Warning extension MultipleStringLiteralsExtended The String "c5" appears 4 times in the file. 1226
 Warning extension MultipleStringLiteralsExtended The String "child2" appears 3 times in the file. 1245
 Warning extension MultipleStringLiteralsExtended The String "field" appears 8 times in the file. 1253
 Warning extension MultipleStringLiteralsExtended The String "parent#p1" appears 4 times in the file. 1266
 Warning extension MultipleStringLiteralsExtended The String "p_value4" appears 4 times in the file. 1316
 Warning extension MultipleStringLiteralsExtended The String "-1" appears 3 times in the file. 1348
 Warning extension MultipleStringLiteralsExtended The String "c6" appears 3 times in the file. 1365
 Warning extension MultipleStringLiteralsExtended The String "c7" appears 2 times in the file. 1369
 Warning extension MultipleStringLiteralsExtended The String "c8" appears 2 times in the file. 1370
 Warning extension MultipleStringLiteralsExtended The String "[has_child] query and filter unsupported in delete_by_query api" appears 2 times in the file. 1382
 Warning extension MultipleStringLiteralsExtended The String "grandissue" appears 7 times in the file. 1506
 Warning extension MultipleStringLiteralsExtended The String "grandparent" appears 2 times in the file. 1507
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 1507
 Warning extension MultipleStringLiteralsExtended The String "child_type_one" appears 3 times in the file. 1509
 Warning extension MultipleStringLiteralsExtended The String "child_type_two" appears 3 times in the file. 1510
 Warning extension MultipleStringLiteralsExtended The String "name:William*" appears 2 times in the file. 1530
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1565
 Warning extension MultipleStringLiteralsExtended The String "Can't specify parent if no parent field has been configured" appears 2 times in the file. 1569
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1571
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1595
 Warning extension MultipleStringLiteralsExtended The String "objects" appears 3 times in the file. 1662
 Warning extension MultipleStringLiteralsExtended The String "i_field" appears 8 times in the file. 1668
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1756
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1765
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1774
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1783
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1792
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1801
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 6 times in the file. 1926
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1932
 Warning extension MultipleStringLiteralsExtended The String "features" appears 2 times in the file. 2066
 Warning extension MultipleStringLiteralsExtended The String "posts" appears 2 times in the file. 2067
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 2 times in the file. 2092
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 5 times in the file. 2115
 Warning extension MultipleStringLiteralsExtended The String "a" appears 5 times in the file. 2115
 Warning extension MultipleStringLiteralsExtended The String "id" appears 7 times in the file. 2144
 Warning extension MultipleStringLiteralsExtended The String "one" appears 4 times in the file. 2146
 Warning extension MultipleStringLiteralsExtended The String "one two" appears 3 times in the file. 2153
 Warning extension MultipleStringLiteralsExtended The String "one two three" appears 2 times in the file. 2162
 Warning extension MultipleStringLiteralsExtended The String "two" appears 2 times in the file. 2185
 Warning extension MultipleStringLiteralsExtended The String "none" appears 10 times in the file. 2214
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2286
 Warning extension MultipleStringLiteralsExtended The String "[has_child] 'max_children' is less than 'min_children'" appears 5 times in the file. 2290
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2366
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2446
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2526
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2606
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 2616
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2623
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2636

elasticsearch/src/test/java/org/elasticsearch/search/compress/SearchSourceCompressTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 52
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 53
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 7 times in the file. 59

elasticsearch/src/test/java/org/elasticsearch/search/facet/ExtendedFacetsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "field1_paged" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "string" appears 5 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "index" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "format" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "loading" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "eager" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "lazy" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "field1_fst" appears 3 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "fst" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "field1_dv" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 3 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "q_field" appears 3 times in the file. 96
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 157
 Warning extension MultipleStringLiteralsExtended The String "facet1" appears 2 times in the file. 164
 Warning extension LogicConditionNeedOptimization Condition with || at line 179 position 42 need optimization. All method calls are advised to move to end of logic expression. 179
 Warning extension LogicConditionNeedOptimization Condition with || at line 179 position 88 need optimization. All method calls are advised to move to end of logic expression. 179
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 258
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 270
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 301
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 302
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 303
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 304

elasticsearch/src/test/java/org/elasticsearch/search/facet/SimpleFacetsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 74 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 68 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 35 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "green" appears 11 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "facet1" appears 102 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 9 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "field" appears 20 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "type" appears 68 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 14 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 15 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 20 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "format" appears 20 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 14 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "short" appears 17 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 26 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "long" appears 19 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "float" appears 24 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "double" appears 18 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "name" appears 11 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "multiValued" appears 4 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 4 times in the file. 193
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 199
 Warning extension MultipleStringLiteralsExtended The String "map" appears 15 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "termFacet" appears 20 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "termFacetRegex" appears 3 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "9\\d" appears 2 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "termFacetScript" appears 3 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "Integer.toHexString(Integer.parseInt(term))" appears 2 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "termFacetScriptRegex" appears 3 times in the file. 214
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 348
 Warning extension MultipleStringLiteralsExtended The String "-> run {} searches" appears 2 times in the file. 374
 Warning extension MultipleStringLiteralsExtended The String "\"\" + (Integer.parseInt(term) % 100)" appears 2 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "\\d+" appears 6 times in the file. 450
 Warning extension MultipleStringLiteralsExtended The String "term" appears 4 times in the file. 455
 Warning extension MultipleStringLiteralsExtended The String "name_paged" appears 3 times in the file. 488
 Warning extension MultipleStringLiteralsExtended The String "string" appears 9 times in the file. 489
 Warning extension MultipleStringLiteralsExtended The String "paged_bytes" appears 2 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "loading" appears 8 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "eager" appears 8 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "lazy" appears 8 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "name_fst" appears 3 times in the file. 492
 Warning extension MultipleStringLiteralsExtended The String "fst" appears 4 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 498
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 498
 Warning extension MultipleStringLiteralsExtended The String "name_paged_mv" appears 2 times in the file. 501
 Warning extension MultipleStringLiteralsExtended The String "name_fst_mv" appears 2 times in the file. 505
 Warning extension MultipleStringLiteralsExtended The String "filtered" appears 3 times in the file. 514
 Warning extension MultipleStringLiteralsExtended The String "filter" appears 2 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "regex" appears 2 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "pattern" appears 2 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "\\d{1,2}" appears 2 times in the file. 517
 Warning extension MultipleStringLiteralsExtended The String "filtered_mv" appears 2 times in the file. 521
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 549
 Warning extension MultipleStringLiteralsExtended The String "_mv" appears 2 times in the file. 549
 Warning extension MultipleStringLiteralsExtended The String "stag" appears 27 times in the file. 701
 Warning extension MultipleStringLiteralsExtended The String "111" appears 36 times in the file. 701
 Warning extension MultipleStringLiteralsExtended The String "lstag" appears 8 times in the file. 702
 Warning extension MultipleStringLiteralsExtended The String "xxx" appears 43 times in the file. 703
 Warning extension MultipleStringLiteralsExtended The String "yyy" appears 42 times in the file. 703
 Warning extension MultipleStringLiteralsExtended The String "ltag" appears 7 times in the file. 704
 Warning extension MultipleStringLiteralsExtended The String "zzz" appears 21 times in the file. 711
 Warning extension MultipleStringLiteralsExtended The String "facet2" appears 16 times in the file. 738
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 4 times in the file. 754
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 3 times in the file. 755
 Warning extension MultipleStringLiteralsExtended The String "facet3" appears 6 times in the file. 813
 Warning extension MultipleStringLiteralsExtended The String "facet4" appears 3 times in the file. 814
 Warning extension MultipleStringLiteralsExtended The String "bstag" appears 6 times in the file. 841
 Warning extension MultipleStringLiteralsExtended The String "shstag" appears 6 times in the file. 842
 Warning extension MultipleStringLiteralsExtended The String "istag" appears 6 times in the file. 843
 Warning extension MultipleStringLiteralsExtended The String "fstag" appears 5 times in the file. 845
 Warning extension MultipleStringLiteralsExtended The String "dstag" appears 6 times in the file. 846
 Warning extension MultipleStringLiteralsExtended The String "kuku" appears 2 times in the file. 860
 Warning extension MultipleStringLiteralsExtended The String "dtag" appears 4 times in the file. 908
 Warning extension MultipleStringLiteralsExtended The String "2000" appears 2 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "1000" appears 3 times in the file. 972
 Warning extension MultipleStringLiteralsExtended The String "3000" appears 2 times in the file. 972
 Warning extension MultipleStringLiteralsExtended The String "1000.1" appears 2 times in the file. 1006
 Warning extension MultipleStringLiteralsExtended The String "3000.1" appears 2 times in the file. 1006
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 1319
 Warning extension MultipleStringLiteralsExtended The String "num" appears 65 times in the file. 1358
 Warning extension MultipleStringLiteralsExtended The String "multi_num" appears 32 times in the file. 1359
 Warning extension MultipleStringLiteralsExtended The String "stats1" appears 17 times in the file. 1379
 Warning extension MultipleStringLiteralsExtended The String "stats2" appears 17 times in the file. 1380
 Warning extension MultipleStringLiteralsExtended The String "stats3" appears 10 times in the file. 1381
 Warning extension MultipleStringLiteralsExtended The String "doc['num'].value * 2" appears 3 times in the file. 1381
 Warning extension MultipleStringLiteralsExtended The String "stats" appears 5 times in the file. 1415
 Warning extension MultipleStringLiteralsExtended The String "date" appears 31 times in the file. 1501
 Warning extension MultipleStringLiteralsExtended The String "1970-01-01T00:00:00" appears 2 times in the file. 1508
 Warning extension MultipleStringLiteralsExtended The String "1970-01-01T00:00:25" appears 2 times in the file. 1515
 Warning extension MultipleStringLiteralsExtended The String "stats4" appears 8 times in the file. 1533
 Warning extension MultipleStringLiteralsExtended The String "doc['num'].value" appears 3 times in the file. 1533
 Warning extension MultipleStringLiteralsExtended The String "stats5" appears 8 times in the file. 1534
 Warning extension MultipleStringLiteralsExtended The String "stats6" appears 8 times in the file. 1535
 Warning extension MultipleStringLiteralsExtended The String "stats7" appears 8 times in the file. 1536
 Warning extension MultipleStringLiteralsExtended The String "stats8" appears 8 times in the file. 1537
 Warning extension MultipleStringLiteralsExtended The String "_score.doubleValue()" appears 3 times in the file. 1537
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 1662
 Warning extension MultipleStringLiteralsExtended The String "multi_value" appears 5 times in the file. 1663
 Warning extension MultipleStringLiteralsExtended The String "range1" appears 3 times in the file. 1699
 Warning extension MultipleStringLiteralsExtended The String "range2" appears 3 times in the file. 1700
 Warning extension MultipleStringLiteralsExtended The String "range3" appears 3 times in the file. 1701
 Warning extension MultipleStringLiteralsExtended The String "range4" appears 3 times in the file. 1702
 Warning extension MultipleStringLiteralsExtended The String "range5" appears 3 times in the file. 1703
 Warning extension MultipleStringLiteralsExtended The String "range6" appears 3 times in the file. 1704
 Warning extension MultipleStringLiteralsExtended The String "1970-01-01T00:00:26" appears 4 times in the file. 1704
 Warning extension MultipleStringLiteralsExtended The String "1970-01-01T00:00:15" appears 2 times in the file. 1704
 Warning extension MultipleStringLiteralsExtended The String "1970-01-01T00:00:53" appears 2 times in the file. 1704
 Warning extension MultipleStringLiteralsExtended The String "date_in_seconds" appears 5 times in the file. 1828
 Warning extension MultipleStringLiteralsExtended The String "2009-03-05T01:01:01" appears 2 times in the file. 1834
 Warning extension MultipleStringLiteralsExtended The String "2009-03-05T04:01:01" appears 2 times in the file. 1841
 Warning extension MultipleStringLiteralsExtended The String "2009-03-06T01:01:01" appears 2 times in the file. 1848
 Warning extension MultipleStringLiteralsExtended The String "day" appears 8 times in the file. 1858
 Warning extension MultipleStringLiteralsExtended The String "-02:00" appears 5 times in the file. 1859
 Warning extension MultipleStringLiteralsExtended The String "2009-03-05" appears 9 times in the file. 1873
 Warning extension MultipleStringLiteralsExtended The String "2009-03-06" appears 5 times in the file. 1875
 Warning extension MultipleStringLiteralsExtended The String "2009-03-04" appears 4 times in the file. 1882
 Warning extension MultipleStringLiteralsExtended The String "stats9" appears 2 times in the file. 2044
 Warning extension MultipleStringLiteralsExtended The String "stats10" appears 2 times in the file. 2045
 Warning extension MultipleStringLiteralsExtended The String "stats11" appears 2 times in the file. 2046
 Warning extension MultipleStringLiteralsExtended The String "stats12" appears 2 times in the file. 2047
 Warning extension MultipleStringLiteralsExtended The String "stats13" appears 2 times in the file. 2049
 Warning extension MultipleStringLiteralsExtended The String "lField" appears 5 times in the file. 2187
 Warning extension MultipleStringLiteralsExtended The String "dField" appears 5 times in the file. 2188
 Warning extension MultipleStringLiteralsExtended The String "query" appears 6 times in the file. 2295
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2312

elasticsearch/src/test/java/org/elasticsearch/search/facet/terms/ShardSizeTermsFacetTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type=string,index=not_analyzed" appears 5 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 11 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "type" appears 11 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "keys" appears 22 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "key" appears 11 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "3" appears 5 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "map" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "type=long" appears 4 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "type=double" appears 2 times in the file. 273

elasticsearch/src/test/java/org/elasticsearch/search/facet/terms/UnmappedFieldsTermsFacetsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 7 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "type" appears 18 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "mapped" appears 11 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "unmapped_bool" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "unmapped_str" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "unmapped_byte" appears 4 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "unmapped_short" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "unmapped_int" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "unmapped_long" appears 4 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "unmapped_float" appears 4 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "unmapped_double" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "mapped_idx" appears 3 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "partially_mapped_byte" appears 6 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "partially_mapped_short" appears 6 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "partially_mapped_int" appears 6 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "partially_mapped_long" appears 6 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "long" appears 10 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "partially_mapped_float" appears 8 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "partially_mapped_double" appears 4 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "double" appears 10 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "unmapped_idx" appears 3 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "partially_mapped_str" appears 5 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "partially_mapped_bool" appears 5 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "string" appears 9 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "mapped_str" appears 2 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "mapped_long" appears 2 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "mapped_double" appears 2 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "unmapped" appears 4 times in the file. 336
 Warning extension MultipleStringLiteralsExtended The String "all_unmapped" appears 3 times in the file. 339

elasticsearch/src/test/java/org/elasticsearch/search/facet/termsstats/ShardSizeTermsStatsFacetTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type=string,index=not_analyzed" appears 5 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 15 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "type" appears 15 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "keys" appears 30 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "key" appears 15 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "value" appears 15 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "3" appears 5 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "type=long" appears 5 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "type=double" appears 5 times in the file. 307

elasticsearch/src/test/java/org/elasticsearch/search/fetch/innerhits/NestedChildrenFilterTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "child" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 2 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "num_child_docs" appears 2 times in the file. 69

elasticsearch/src/test/java/org/elasticsearch/search/fields/SearchFieldsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 28 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 20 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 5 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 17 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "type" appears 37 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "string" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "store" appears 14 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 13 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 10 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 9 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "1" appears 17 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 9 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 5 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 3 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "num1" appears 12 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "double" appears 3 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "value beck" appears 3 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "date" appears 5 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 134
 Warning extension MultipleStringLiteralsExtended The String "sNum1" appears 8 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "sNum1_field" appears 4 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "date1" appears 4 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "type=long" appears 3 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "uid" appears 4 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "_fields._uid.value" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "type1#" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "id" appears 4 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "_fields._id.value" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "_fields._type.value" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "obj1" appears 6 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "something" appears 4 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "obj2" appears 3 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "arr2" appears 2 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "arr_value1" appears 3 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "arr_value2" appears 3 times in the file. 266
 Warning extension MultipleStringLiteralsExtended The String "arr3_field1" appears 2 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "arr3_value1" appears 2 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "s_obj1" appears 2 times in the file. 274
 Warning extension MultipleStringLiteralsExtended The String "s_obj1_test" appears 3 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "s_obj2" appears 2 times in the file. 276
 Warning extension MultipleStringLiteralsExtended The String "s_obj2_arr2" appears 2 times in the file. 277
 Warning extension MultipleStringLiteralsExtended The String "s_arr3" appears 2 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "Failures " appears 2 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "arr1" appears 2 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "partial1" appears 2 times in the file. 324
 Warning extension MultipleStringLiteralsExtended The String "partial2" appears 2 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "byte_field" appears 8 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 2 times in the file. 348
 Warning extension MultipleStringLiteralsExtended The String "short_field" appears 8 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "short" appears 2 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "integer_field" appears 8 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 2 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "long_field" appears 8 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "float_field" appears 8 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "float" appears 2 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "double_field" appears 8 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "date_field" appears 8 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "boolean_field" appears 8 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "boolean" appears 2 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "binary_field" appears 5 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "binary" appears 2 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "dateOptionalTime" appears 3 times in the file. 368
 Warning extension MultipleStringLiteralsExtended The String "testing text" appears 2 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "UTF8" appears 2 times in the file. 370
 Warning extension MultipleStringLiteralsExtended The String "my-index" appears 9 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "my-type1" appears 6 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "_routing" appears 3 times in the file. 415
 Warning extension MultipleStringLiteralsExtended The String "my-type2" appears 4 times in the file. 441
 Warning extension MultipleStringLiteralsExtended The String "object" appears 3 times in the file. 442
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 3 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "test_field" appears 2 times in the file. 498
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 2 times in the file. 498
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 506
 Warning extension MultipleStringLiteralsExtended The String "string_field" appears 3 times in the file. 523
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 573
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 579
 Warning extension MultipleStringLiteralsExtended The String "s" appears 4 times in the file. 580
 Warning extension MultipleStringLiteralsExtended The String "type=string,index=not_analyzed" appears 2 times in the file. 580
 Warning extension MultipleStringLiteralsExtended The String "l" appears 4 times in the file. 581
 Warning extension MultipleStringLiteralsExtended The String "d" appears 4 times in the file. 582
 Warning extension MultipleStringLiteralsExtended The String "type=double" appears 2 times in the file. 582
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 4 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String "ml" appears 4 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "md" appears 4 times in the file. 585

elasticsearch/src/test/java/org/elasticsearch/search/functionscore/DecayFunctionScoreTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 127 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 49 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 16 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "type" appears 50 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "string" appears 17 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "loc" appears 21 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 6 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "1" appears 45 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "value" appears 62 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 11 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 11 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "2" appears 31 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "1000km" appears 11 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "num" appears 36 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "double" appears 7 times in the file. 165
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '2'. 272
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '2'. 284
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '1'. 314
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 316
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '1'. 326
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 328
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '1'. 352
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 354
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '1'. 363
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '1'. 374
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 376
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '1'. 386
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 388
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 388
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '1'. 397
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 399
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '0.30685282'. 399
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '1'. 408
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 414
 Warning extension MultipleStringLiteralsExtended The String "num1" appears 22 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "date" appears 8 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "2013-05-27" appears 2 times in the file. 423
 Warning extension MultipleStringLiteralsExtended The String "2013-05-28" appears 4 times in the file. 426
 Warning extension MultipleStringLiteralsExtended The String "2d" appears 2 times in the file. 457
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 472
 Warning extension MultipleStringLiteralsExtended The String "1d" appears 2 times in the file. 474
 Warning extension MultipleStringLiteralsExtended The String "num2" appears 5 times in the file. 483
 Warning extension MultipleStringLiteralsExtended The String "1.0" appears 3 times in the file. 491
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 497
 Warning extension MultipleStringLiteralsExtended The String "2013-05-30" appears 3 times in the file. 498
 Warning extension MultipleStringLiteralsExtended The String "multiply" appears 6 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String "-" appears 6 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "1000w" appears 2 times in the file. 557
 Warning extension MultipleStringLiteralsExtended The String "geo" appears 5 times in the file. 580
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'i'. 586
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numDocs'. 586
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'i'. 588
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'numDocs'. 588
 Warning extension MultipleStringLiteralsExtended The String "0" appears 3 times in the file. 589
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 626
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 652
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around literal '2'. 724
 Warning extension MultipleStringLiteralsExtended The String "10" appears 2 times in the file. 771
 Warning extension MultipleStringLiteralsExtended The String "function_score" appears 3 times in the file. 803
 Warning extension MultipleStringLiteralsExtended The String "functions" appears 3 times in the file. 803
 Warning extension MultipleStringLiteralsExtended The String "boost_factor" appears 4 times in the file. 803
 Warning extension MultipleStringLiteralsExtended The String "1.3" appears 2 times in the file. 803
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 804
 Warning extension MultipleStringLiteralsExtended The String "Search should result in SearchPhaseExecutionException" appears 3 times in the file. 808
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 811
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 817
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 824
 Warning extension MultipleStringLiteralsExtended The String "random_score" appears 2 times in the file. 829
 Warning extension MultipleStringLiteralsExtended The String "seed" appears 2 times in the file. 829
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 830
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 837
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 838
 Warning extension MultipleStringLiteralsExtended The String "{\n" appears 3 times in the file. 848
 Warning extension MultipleStringLiteralsExtended The String "}\n" appears 2 times in the file. 850
 Warning extension MultipleStringLiteralsExtended The String " \"function_score\": {\n" appears 2 times in the file. 853
 Warning extension MultipleStringLiteralsExtended The String " \"score_mode\": \"sum\",\n" appears 2 times in the file. 854
 Warning extension MultipleStringLiteralsExtended The String " \"boost_mode\": \"replace\",\n" appears 2 times in the file. 855
 Warning extension MultipleStringLiteralsExtended The String " \"functions\": [\n" appears 2 times in the file. 856
 Warning extension MultipleStringLiteralsExtended The String " {\n" appears 3 times in the file. 857
 Warning extension MultipleStringLiteralsExtended The String " \"filter\": {\n" appears 3 times in the file. 858
 Warning extension MultipleStringLiteralsExtended The String " \"term\": {\n" appears 3 times in the file. 859
 Warning extension MultipleStringLiteralsExtended The String " \"text\": \"baseball\"\n" appears 3 times in the file. 860
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 3 times in the file. 861
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 862
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 863
 Warning extension MultipleStringLiteralsExtended The String " ]\n" appears 2 times in the file. 864
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 865
 Warning extension MultipleStringLiteralsExtended The String "t" appears 5 times in the file. 868
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 871
 Warning extension MultipleStringLiteralsExtended The String "Should fail with SearchPhaseExecutionException" appears 2 times in the file. 875
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 877
 Warning extension MultipleStringLiteralsExtended The String "SearchParseException" appears 2 times in the file. 877
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 878
 Warning extension MultipleStringLiteralsExtended The String "NullPointerException" appears 2 times in the file. 878
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 905
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 911
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 912
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 913
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 917
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 920
 Warning extension MultipleStringLiteralsExtended The String "function must not be null" appears 3 times in the file. 920
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 922
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 925
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 927
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 930

elasticsearch/src/test/java/org/elasticsearch/search/functionscore/ExplainableScriptPlugin.java

Severity Category Rule Message Line
 Warning extension EmptyPublicCtorInClass This empty public constructor is useless. 27

elasticsearch/src/test/java/org/elasticsearch/search/functionscore/ExplainableScriptTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "number_field" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 76

elasticsearch/src/test/java/org/elasticsearch/search/functionscore/FunctionScoreBackwardCompatibilityTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "loc" appears 3 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "boosted" appears 2 times in the file. 80

elasticsearch/src/test/java/org/elasticsearch/search/functionscore/FunctionScoreFieldValueTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 16 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 5 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 49
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 49
 Warning extension MultipleStringLiteralsExtended The String "body" appears 4 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "2" appears 3 times in the file. 60
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 81
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 92
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 105

elasticsearch/src/test/java/org/elasticsearch/search/functionscore/FunctionScorePluginTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "num1" appears 4 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "value" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 80

elasticsearch/src/test/java/org/elasticsearch/search/functionscore/FunctionScoreTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 12 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "test" appears 11 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "num" appears 10 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "float" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "value" appears 13 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "Exception while initializing FunctionScoreTests" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "1000km" appears 4 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "_index['" appears 4 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "']['value'].tf()" appears 4 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "multiply" appears 4 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "max" appears 4 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "min" appears 4 times in the file. 254
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 6 times in the file. 264
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 3 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "function_score" appears 2 times in the file. 364
 Warning extension MultipleStringLiteralsExtended The String "weight" appears 2 times in the file. 367
 Warning extension MultipleStringLiteralsExtended The String "dummy_field" appears 2 times in the file. 407
 Warning extension MultipleStringLiteralsExtended The String "_score.doubleValue()" appears 4 times in the file. 415
 Warning extension MultipleStringLiteralsExtended The String "score_agg" appears 3 times in the file. 437
 Warning extension MultipleStringLiteralsExtended The String "filter_field" appears 3 times in the file. 523
 Warning extension MultipleStringLiteralsExtended The String "query_field" appears 3 times in the file. 524
 Warning extension MultipleStringLiteralsExtended The String "0" appears 2 times in the file. 544
 Warning extension MultipleStringLiteralsExtended The String "replace" appears 2 times in the file. 544
 Warning extension MultipleStringLiteralsExtended The String "text" appears 5 times in the file. 557
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 561

elasticsearch/src/test/java/org/elasticsearch/search/functionscore/RandomScoreFunctionTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 21 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "type" appears 8 times in the file. 48
 Warning extension MoveVariableInsideIf Variable 'hitCount' can be moved inside the block at line '83' to restrict runtime creation. 69
 Warning extension MultipleStringLiteralsExtended The String "body" appears 7 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "index" appears 7 times in the file. 106
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 106
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "factor" appears 5 times in the file. 119
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 177
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 251
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 294

elasticsearch/src/test/java/org/elasticsearch/search/geo/GeoBoundingBoxTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 29 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "location" appears 47 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "lat_lon" appears 4 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "test" appears 25 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "name" appears 7 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 21 times in the file. 51
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 51
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 21 times in the file. 51
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 51
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 55
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 57
 Warning extension MultipleStringLiteralsExtended The String "3" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 67
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 69
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 69
 Warning extension MultipleStringLiteralsExtended The String "5" appears 6 times in the file. 73
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 75
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 79
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 81
 Warning extension MultipleStringLiteralsExtended The String "7" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "indexed" appears 11 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "9" appears 3 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "userid" appears 8 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "title" appears 4 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "Place in Stockholm" appears 2 times in the file. 224
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 225
 Warning extension MultipleStringLiteralsExtended The String "Place in Montreal" appears 2 times in the file. 232
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 233
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 233
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 241
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 241
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 247
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 247
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 254
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 254
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 260
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 260
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 276
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 284
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 284

elasticsearch/src/test/java/org/elasticsearch/search/geo/GeoDistanceFacetTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 43
 Warning extension MultipleStringLiteralsExtended The String "test" appears 13 times in the file. 44
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 45
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 13 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "location" appears 15 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "lat_lon" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "name" appears 7 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "num" appears 10 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 11 times in the file. 58
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 58
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 11 times in the file. 58
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 58
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 65
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 69
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 79
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 79
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 86
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 93
 Warning extension MultipleStringLiteralsExtended The String "geo1" appears 8 times in the file. 107
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 107
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 107
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 140
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 140
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 172
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 172
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 205
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 207
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 220
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 220
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 222
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 232
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 232
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 241
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 241

elasticsearch/src/test/java/org/elasticsearch/search/geo/GeoDistanceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 22 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 7 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "location" appears 38 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "type" appears 11 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "lat_lon" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "format" appears 5 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "test" appears 27 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "1" appears 31 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "name" appears 21 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "New York" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 25 times in the file. 67
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 67
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 25 times in the file. 67
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 67
 Warning extension MultipleStringLiteralsExtended The String "2" appears 21 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Times Square" appears 4 times in the file. 71
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 72
 Warning extension MultipleStringLiteralsExtended The String "3" appears 25 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Tribeca" appears 4 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "4" appears 28 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "Wall Street" appears 4 times in the file. 81
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 82
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 82
 Warning extension MultipleStringLiteralsExtended The String "5" appears 12 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "Soho" appears 4 times in the file. 86
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 87
 Warning extension MultipleStringLiteralsExtended The String "6" appears 6 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "Greenwich Village" appears 3 times in the file. 91
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 92
 Warning extension MultipleStringLiteralsExtended The String "7" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "Brooklyn" appears 3 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "3km" appears 3 times in the file. 101
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 101
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 101
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 109
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 109
 Warning extension MultipleStringLiteralsExtended The String "indexed" appears 5 times in the file. 109
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 119
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 119
 Warning extension MultipleStringLiteralsExtended The String "2km" appears 2 times in the file. 130
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 130
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 130
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 138
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 138
 Warning extension MultipleStringLiteralsExtended The String "1.242mi" appears 2 times in the file. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 147
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 155
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 155
 Warning extension MultipleStringLiteralsExtended The String "1.0km" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "2.0km" appears 4 times in the file. 164
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 164
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 164
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 172
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 172
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 181
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 181
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 187
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 187
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 195
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 195
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 202
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 202
 Warning extension MultipleStringLiteralsExtended The String "locations" appears 20 times in the file. 212
 Warning extension MultipleStringLiteralsExtended The String "names" appears 6 times in the file. 220
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 221
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 221
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 228
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 238
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 238
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 240
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 249
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 259
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 259
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 271
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 271
 Warning extension MultipleStringLiteralsExtended The String "max" appears 2 times in the file. 271
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 283
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 283
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 295
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 295
 Warning extension MultipleStringLiteralsExtended The String "min" appears 2 times in the file. 295
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 306
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 306
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 5 times in the file. 306
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 317
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 317
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 328
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 328
 Warning extension MultipleStringLiteralsExtended The String "sum" appears 2 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "sort_mode [sum] isn't supported for sorting by geo distance" appears 2 times in the file. 330
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 347
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 361
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 361
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 371
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 371
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 8 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "distance" appears 16 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "," appears 8 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String ")" appears 8 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "doc['location'].arcDistanceInKm(" appears 3 times in the file. 409
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'target_lat'. 417
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around identifier 'target_long'. 421
 Warning extension MultipleStringLiteralsExtended The String "company" appears 6 times in the file. 436
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 438
 Warning extension MultipleStringLiteralsExtended The String "branches" appears 6 times in the file. 439
 Warning extension MultipleStringLiteralsExtended The String "companies" appears 13 times in the file. 450
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 458
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 458
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 467
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 480
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 480
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 484
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 493
 Warning extension MultipleStringLiteralsExtended The String "branches.location" appears 8 times in the file. 504
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 504
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 504
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 516
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 516
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 528
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 528
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 540
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 540
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 551
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 551
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 564
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 564
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 578
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 578
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 590
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 590
 Warning extension MultipleStringLiteralsExtended The String "pin" appears 3 times in the file. 607
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 650

elasticsearch/src/test/java/org/elasticsearch/search/geo/GeoFilterTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 103
 Warning extension MultipleStringLiteralsExtended The String "Self intersection not detected" appears 3 times in the file. 111
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 122
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 134
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 149
 Warning extension MultipleStringLiteralsExtended The String "polygon" appears 6 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "area" appears 18 times in the file. 224
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "geo_shape" appears 2 times in the file. 225
 Warning extension MultipleStringLiteralsExtended The String "store" appears 3 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "shapes" appears 5 times in the file. 233
 Warning extension MultipleStringLiteralsExtended The String "1" appears 10 times in the file. 253
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "country" appears 2 times in the file. 399
 Warning extension MultipleStringLiteralsExtended The String "pin" appears 14 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "lat_lon" appears 2 times in the file. 403
 Warning extension MultipleStringLiteralsExtended The String "location" appears 6 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "DE" appears 2 times in the file. 424
 Warning extension MultipleStringLiteralsExtended The String "locations" appears 10 times in the file. 480
 Warning extension MultipleStringLiteralsExtended The String "p" appears 6 times in the file. 492
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 535
 Warning extension MultipleStringLiteralsExtended The String ",\"neighbors\": true}}" appears 3 times in the file. 561
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 567
 Warning extension MultipleStringLiteralsExtended The String "0" appears 4 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String "r" appears 4 times in the file. 583
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "8" appears 4 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "9" appears 2 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "x" appears 4 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "z" appears 2 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "n" appears 2 times in the file. 585
 Warning extension MultipleStringLiteralsExtended The String "q" appears 2 times in the file. 585
 Warning extension MultipleStringLiteralsExtended The String "w" appears 2 times in the file. 586
 Warning extension MultipleStringLiteralsExtended The String "dk" appears 2 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "d5" appears 2 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "d7" appears 2 times in the file. 593
 Warning extension MultipleStringLiteralsExtended The String "dh" appears 2 times in the file. 593

elasticsearch/src/test/java/org/elasticsearch/search/geo/GeoPolygonTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 9 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "location" appears 9 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "test" appears 10 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "name" appears 7 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 7 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 7 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "3" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 70

elasticsearch/src/test/java/org/elasticsearch/search/geo/GeoShapeIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 20 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 8 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "location" appears 42 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type" appears 33 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "geo_shape" appears 9 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "test" appears 39 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "aNullshape" appears 2 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "tree" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "quadtree" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "1" appears 20 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "Document 1" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "point" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "coordinates" appears 10 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "blakely" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "polygon" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "shapes" appears 14 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "shape_type" appears 3 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "Big_Rectangle" appears 3 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "shape" appears 5 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "area" appears 2 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "type=geo_shape" appears 3 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "1.location" appears 2 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "1.2.location" appears 2 times in the file. 317
 Warning extension MultipleStringLiteralsExtended The String "1.2.3.location" appears 2 times in the file. 324
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 398
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 414
 Warning extension MultipleStringLiteralsExtended The String "orientation" appears 3 times in the file. 479

elasticsearch/src/test/java/org/elasticsearch/search/highlight/CustomHighlighter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test-custom" appears 3 times in the file. 36
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 68

elasticsearch/src/test/java/org/elasticsearch/search/highlight/CustomHighlighterSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 12 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "name" appears 13 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "other_name" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "other_other_name" appears 5 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test-custom" appears 4 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "standard response for name at position 1" appears 5 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "someValue" appears 2 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "standard response for other_name at position 2" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "standard response for other_other_name at position 3" appears 2 times in the file. 118

elasticsearch/src/test/java/org/elasticsearch/search/highlight/HighlighterSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 313 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "name" appears 34 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 14 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "no" appears 19 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "1" appears 35 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 20 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 9 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "autocomplete" appears 3 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "type" appears 45 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "string" appears 34 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "term_vector" appears 16 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "with_positions_offsets" appears 17 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "multi_field" appears 9 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "letter,digit" appears 2 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.wordDelimiter.type" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "word_delimiter" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.wordDelimiter.type.split_on_numerics" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.wordDelimiter.generate_word_parts" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.wordDelimiter.generate_number_parts" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.wordDelimiter.catenate_words" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.wordDelimiter.catenate_numbers" appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.wordDelimiter.catenate_all" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 6 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "wordDelimiter" appears 3 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 13 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "name.autocomplete" appears 3 times in the file. 135
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 141
 Warning extension MultipleStringLiteralsExtended The String "body" appears 17 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "Test: http://www.facebook.com http://elasticsearch.org http://xing.com http://cnn.com http://quora.com http://twitter.com this is a test for highlighting feature Test: http://www.facebook.com http://elasticsearch.org http://xing.com http://cnn.com http://quora.com http://twitter.com this is a test for highlighting feature" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "term_vector=with_positions_offsets" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "name2" appears 26 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.my_ngram.max_gram" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "4.1" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.my_ngram.min_gram" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "analysis.filter.my_ngram.type" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "ngram" appears 4 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "analysis.tokenizer.my_ngramt.max_gram" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "analysis.tokenizer.my_ngramt.min_gram" appears 2 times in the file. 186
 Warning extension MultipleStringLiteralsExtended The String "analysis.tokenizer.my_ngramt.type" appears 2 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "analysis.analyzer.name_index_analyzer.tokenizer" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "my_ngramt" appears 2 times in the file. 188
 Warning extension MultipleStringLiteralsExtended The String "analysis.analyzer.name2_index_analyzer.tokenizer" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "analysis.analyzer.name2_index_analyzer.filter" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "my_ngram" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "analysis.analyzer.name_search_analyzer.tokenizer" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "logicacmg ehemals avinci - the know how company" appears 4 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "2" appears 8 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "avinci, unilog avinci, logicacmg, logica" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "logica m" appears 4 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "<em>logica</em>c<em>m</em>g ehe<em>m</em>als avinci - the know how co<em>m</em>pany" appears 5 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "avinci, unilog avinci, <em>logica</em>c<em>m</em>g, <em>logica</em>" appears 4 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "logica ma" appears 4 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "<em>logica</em>cmg ehe<em>ma</em>ls avinci - the know how company" appears 5 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "avinci, unilog avinci, <em>logica</em>cmg, <em>logica</em>" appears 8 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "logica" appears 4 times in the file. 214
 Warning extension MultipleStringLiteralsExtended The String "<em>logica</em>cmg ehemals avinci - the know how company" appears 5 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 153 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "no_long_term" appears 8 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "type=string,term_vector=with_positions_offsets" appears 4 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "long_term" appears 5 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "test foo highlighed" appears 2 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "</b>" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "<b>" appears 2 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "title" appears 114 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "store" appears 25 times in the file. 321
 Warning extension MultipleStringLiteralsExtended The String "attachments" appears 6 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "This is a test on the highlighting bug present in elasticsearch" appears 6 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "attachment 1" appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "attachment 2" appears 3 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "bug" appears 7 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "This is a test on the highlighting <em>bug</em> present in elasticsearch" appears 5 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "attachments.body" appears 12 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "attachment" appears 3 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "<em>attachment</em> 1" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "<em>attachment</em> 2" appears 3 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "index_options" appears 14 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "offsets" appears 13 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "This is the second <em>bug</em> to perform highlighting on." appears 2 times in the file. 424
 Warning extension MultipleStringLiteralsExtended The String "titleTV" appears 10 times in the file. 451
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 455
 Warning extension MultipleStringLiteralsExtended The String "The bug is bugging us" appears 2 times in the file. 455
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 456
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 459
 Warning extension MultipleStringLiteralsExtended The String "The <em>bug</em> is bugging us" appears 2 times in the file. 468
 Warning extension MultipleStringLiteralsExtended The String "highlight" appears 3 times in the file. 473
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 183 times in the file. 487
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 487
 Warning extension MultipleStringLiteralsExtended The String "this is a test" appears 39 times in the file. 487
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 112 times in the file. 488
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 488
 Warning extension MultipleStringLiteralsExtended The String "score" appears 27 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String "<field2>" appears 5 times in the file. 496
 Warning extension MultipleStringLiteralsExtended The String "</field2>" appears 5 times in the file. 496
 Warning extension MultipleStringLiteralsExtended The String " <global>test</global>" appears 2 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "field-postings" appears 3 times in the file. 509
 Warning extension MultipleStringLiteralsExtended The String "field-fvh" appears 3 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String "field-plain" appears 4 times in the file. 511
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 511
 Warning extension MultipleStringLiteralsExtended The String "field*" appears 2 times in the file. 523
 Warning extension MultipleStringLiteralsExtended The String "<xxx>" appears 21 times in the file. 523
 Warning extension MultipleStringLiteralsExtended The String "</xxx>" appears 21 times in the file. 523
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 2 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 537
 Warning extension MultipleStringLiteralsExtended The String "The quick brown fox jumps over the lazy dog" appears 11 times in the file. 546
 Warning extension MultipleStringLiteralsExtended The String "quick" appears 9 times in the file. 551
 Warning extension MultipleStringLiteralsExtended The String "The <xxx>quick</xxx> brown fox jumps over the lazy dog" appears 7 times in the file. 554
 Warning extension MultipleStringLiteralsExtended The String "plain" appears 21 times in the file. 558
 Warning extension MultipleStringLiteralsExtended The String "source is forced for fields [field1] but type [type1] has disabled _source" appears 4 times in the file. 560
 Warning extension MultipleStringLiteralsExtended The String "fvh" appears 24 times in the file. 564
 Warning extension MultipleStringLiteralsExtended The String "postings" appears 22 times in the file. 570
 Warning extension MultipleStringLiteralsExtended The String "--> highlighting and searching on field1" appears 18 times in the file. 596
 Warning extension MultipleStringLiteralsExtended The String "this is a <xxx>test</xxx>" appears 6 times in the file. 603
 Warning extension MultipleStringLiteralsExtended The String "--> searching on _all, highlighting on field1" appears 3 times in the file. 605
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 19 times in the file. 607
 Warning extension MultipleStringLiteralsExtended The String "--> searching on _all, highlighting on field2" appears 6 times in the file. 614
 Warning extension MultipleStringLiteralsExtended The String "qui" appears 5 times in the file. 625
 Warning extension MultipleStringLiteralsExtended The String "--> searching on _all with constant score, highlighting on field2" appears 2 times in the file. 632
 Warning extension MultipleStringLiteralsExtended The String "language_analyzer" appears 3 times in the file. 655
 Warning extension MultipleStringLiteralsExtended The String "text" appears 84 times in the file. 662
 Warning extension MultipleStringLiteralsExtended The String "english" appears 3 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "<1>" appears 4 times in the file. 677
 Warning extension MultipleStringLiteralsExtended The String "</1>" appears 4 times in the file. 677
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 42 times in the file. 768
 Warning extension MultipleStringLiteralsExtended The String "termVector" appears 7 times in the file. 773
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 16 times in the file. 775
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 2 times in the file. 780
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 20 times in the file. 784
 Warning extension MultipleStringLiteralsExtended The String "cat cat junk junk junk junk junk junk junk cats junk junk" appears 2 times in the file. 806
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 808
 Warning extension MultipleStringLiteralsExtended The String "weird" appears 2 times in the file. 809
 Warning extension MultipleStringLiteralsExtended The String "result" appears 2 times in the file. 810
 Warning extension MultipleStringLiteralsExtended The String "running scissors" appears 6 times in the file. 820
 Warning extension MultipleStringLiteralsExtended The String "<em>running</em> with <em>scissors</em>" appears 9 times in the file. 821
 Warning extension MultipleStringLiteralsExtended The String "foo.plain:running scissors" appears 3 times in the file. 824
 Warning extension MultipleStringLiteralsExtended The String "foo.plain" appears 10 times in the file. 829
 Warning extension MultipleStringLiteralsExtended The String "junk junk <em>cats</em> junk junk" appears 6 times in the file. 861
 Warning extension MultipleStringLiteralsExtended The String "cats" appears 2 times in the file. 864
 Warning extension MultipleStringLiteralsExtended The String "foo.plain^5" appears 2 times in the file. 864
 Warning extension MultipleStringLiteralsExtended The String "<em>cat</em> <em>cat</em> junk junk junk junk" appears 2 times in the file. 872
 Warning extension MultipleStringLiteralsExtended The String "bar.plain" appears 7 times in the file. 875
 Warning extension MultipleStringLiteralsExtended The String "--> indexing docs" appears 2 times in the file. 923
 Warning extension MultipleStringLiteralsExtended The String "--> searching explicitly on field1 and highlighting on it" appears 2 times in the file. 926
 Warning extension MultipleStringLiteralsExtended The String "<em>test</em> " appears 2 times in the file. 935
 Warning extension MultipleStringLiteralsExtended The String "type=string,store=yes,term_vector=with_positions_offsets" appears 3 times in the file. 963
 Warning extension MultipleStringLiteralsExtended The String "type=string,store=yes" appears 2 times in the file. 1010
 Warning extension MultipleStringLiteralsExtended The String "This is a html escaping highlighting test for *&? elasticsearch" appears 3 times in the file. 1016
 Warning extension MultipleStringLiteralsExtended The String "html" appears 11 times in the file. 1022
 Warning extension MultipleStringLiteralsExtended The String "classic" appears 6 times in the file. 1060
 Warning extension MultipleStringLiteralsExtended The String "key" appears 6 times in the file. 1061
 Warning extension MultipleStringLiteralsExtended The String "this is a <em>test</em>" appears 5 times in the file. 1074
 Warning extension MultipleStringLiteralsExtended The String "title.key" appears 18 times in the file. 1078
 Warning extension MultipleStringLiteralsExtended The String "<em>this</em> <em>is</em> <em>a</em> <em>test</em>" appears 5 times in the file. 1083
 Warning extension MultipleStringLiteralsExtended The String "fast-vector-highlighter" appears 2 times in the file. 1206
 Warning extension MultipleStringLiteralsExtended The String "the field [title] should be indexed with term vector with position offsets to be used with fast vector highlighter" appears 2 times in the file. 1208
 Warning extension MultipleStringLiteralsExtended The String "tit*" appears 2 times in the file. 1212
 Warning extension MultipleStringLiteralsExtended The String "test for the workaround" appears 3 times in the file. 1232
 Warning extension MultipleStringLiteralsExtended The String "highlighter" appears 4 times in the file. 1245
 Warning extension MultipleStringLiteralsExtended The String "This is a <em>test</em> for the <em>workaround</em> for the fast vector highlighting SOLR-3724" appears 2 times in the file. 1249
 Warning extension MultipleStringLiteralsExtended The String "tags" appears 18 times in the file. 1267
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1270
 Warning extension MultipleStringLiteralsExtended The String "this is a really long tag i would like to highlight" appears 2 times in the file. 1271
 Warning extension MultipleStringLiteralsExtended The String "brown" appears 3 times in the file. 1293
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 3 times in the file. 1293
 Warning extension MultipleStringLiteralsExtended The String "<x>" appears 11 times in the file. 1294
 Warning extension MultipleStringLiteralsExtended The String "</x>" appears 11 times in the file. 1294
 Warning extension MultipleStringLiteralsExtended The String "The quick <x>brown</x> fox jumps over the lazy dog" appears 2 times in the file. 1298
 Warning extension MultipleStringLiteralsExtended The String "quick brown" appears 5 times in the file. 1331
 Warning extension MultipleStringLiteralsExtended The String "The <x>quick</x> <x>brown</x> fox jumps over the lazy dog" appears 4 times in the file. 1335
 Warning extension MultipleStringLiteralsExtended The String "synonym" appears 2 times in the file. 1359
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 7 times in the file. 1364
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 11 times in the file. 1365
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 5 times in the file. 1366
 Warning extension MultipleStringLiteralsExtended The String "0" appears 3 times in the file. 1369
 Warning extension MultipleStringLiteralsExtended The String "field0" appears 4 times in the file. 1370
 Warning extension MultipleStringLiteralsExtended The String "The quick browse button is a fancy thing, right bro?" appears 2 times in the file. 1372
 Warning extension MultipleStringLiteralsExtended The String "quick bro" appears 2 times in the file. 1376
 Warning extension MultipleStringLiteralsExtended The String "The <x>quick browse</x> button is a fancy thing, right bro?" appears 2 times in the file. 1390
 Warning extension MultipleStringLiteralsExtended The String "The <x>quick brown</x> fox jumps over the lazy dog" appears 2 times in the file. 1390
 Warning extension MultipleStringLiteralsExtended The String "--> highlighting and searching on field4" appears 2 times in the file. 1409
 Warning extension MultipleStringLiteralsExtended The String "<x>The quick browse</x> button is a fancy thing, right bro?" appears 2 times in the file. 1414
 Warning extension MultipleStringLiteralsExtended The String "<x>The quick brown</x> fox jumps over the lazy dog" appears 2 times in the file. 1414
 Warning extension MultipleStringLiteralsExtended The String "long tag" appears 3 times in the file. 1437
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 2 times in the file. 1439
 Warning extension MultipleStringLiteralsExtended The String "this is a really <em>long</em> <em>tag</em> i would like to highlight" appears 2 times in the file. 1441
 Warning extension MultipleStringLiteralsExtended The String "here is another one that is very <em>long</em> <em>tag</em> and has the tag token near the end" appears 2 times in the file. 1442
 Warning extension MultipleStringLiteralsExtended The String "The <b>quick<b> brown fox" appears 2 times in the file. 1465
 Warning extension MultipleStringLiteralsExtended The String "The <b>slow<b> brown fox" appears 2 times in the file. 1465
 Warning extension MultipleStringLiteralsExtended The String "fox" appears 8 times in the file. 1469
 Warning extension MultipleStringLiteralsExtended The String "<2>" appears 3 times in the file. 1471
 Warning extension MultipleStringLiteralsExtended The String "</2>" appears 3 times in the file. 1471
 Warning extension MultipleStringLiteralsExtended The String "The <b>quick<b> brown <1>fox</1>" appears 2 times in the file. 1473
 Warning extension MultipleStringLiteralsExtended The String "The <b>slow<b> brown <2>fox</2>" appears 2 times in the file. 1474
 Warning extension MultipleStringLiteralsExtended The String "type=string,term_vectors=with_positions_offsets" appears 2 times in the file. 1480
 Warning extension MultipleStringLiteralsExtended The String "highlight_field" appears 2 times in the file. 1498
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 1502
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 3 times in the file. 1519
 Warning extension MultipleStringLiteralsExtended The String "short" appears 3 times in the file. 1519
 Warning extension MultipleStringLiteralsExtended The String "int" appears 3 times in the file. 1519
 Warning extension MultipleStringLiteralsExtended The String "long" appears 3 times in the file. 1519
 Warning extension MultipleStringLiteralsExtended The String "float" appears 3 times in the file. 1520
 Warning extension MultipleStringLiteralsExtended The String "double" appears 3 times in the file. 1520
 Warning extension MultipleStringLiteralsExtended The String "elasticsearch test" appears 2 times in the file. 1523
 Warning extension MultipleStringLiteralsExtended The String "type=string," appears 5 times in the file. 1567
 Warning extension MultipleStringLiteralsExtended The String "term_vector=with_positions_offsets,index_options=offsets" appears 4 times in the file. 1567
 Warning extension MultipleStringLiteralsExtended The String "query" appears 2 times in the file. 1591
 Warning extension MultipleStringLiteralsExtended The String "I am pretty long so" appears 3 times in the file. 1669
 Warning extension MultipleStringLiteralsExtended The String "I am pretty long so some" appears 3 times in the file. 1674
 Warning extension MultipleStringLiteralsExtended The String "I am pretty long so some of me should get cut off." appears 5 times in the file. 1679
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 1811
 Warning extension MultipleStringLiteralsExtended The String "This is the <em>third</em> sentence. This is the fourth sentence." appears 3 times in the file. 1883
 Warning extension MultipleStringLiteralsExtended The String "This is the <em>fifth</em> sentence" appears 3 times in the file. 1884
 Warning extension MultipleStringLiteralsExtended The String "The quick brown fox jumps over the lazy dog. The lazy red fox jumps over the quick dog. The quick brown dog jumps over the lazy fox." appears 4 times in the file. 1976
 Warning extension MultipleStringLiteralsExtended The String "<field1>" appears 6 times in the file. 1984
 Warning extension MultipleStringLiteralsExtended The String "</field1>" appears 6 times in the file. 1984
 Warning extension MultipleStringLiteralsExtended The String "The quick brown <field1>fox</field1> jumps over the lazy dog." appears 4 times in the file. 1989
 Warning extension MultipleStringLiteralsExtended The String "The lazy red <field1>fox</field1> jumps over the quick dog." appears 5 times in the file. 1990
 Warning extension MultipleStringLiteralsExtended The String "The quick brown dog jumps over the lazy <field1>fox</field1>." appears 5 times in the file. 1991
 Warning extension MultipleStringLiteralsExtended The String "The quick brown <field2>fox</field2> jumps over the lazy dog." appears 3 times in the file. 1993
 Warning extension MultipleStringLiteralsExtended The String "The lazy red <field2>fox</field2> jumps over the quick dog." appears 3 times in the file. 1994
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1997
 Warning extension MultipleStringLiteralsExtended The String "The quick brown dog jumps over the lazy <field2>fox</field2>." appears 2 times in the file. 2062
 Warning extension MultipleStringLiteralsExtended The String "The quick brown fox jumps over" appears 2 times in the file. 2095
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2121
 Warning extension MultipleStringLiteralsExtended The String "sentence" appears 2 times in the file. 2128
 Warning extension MultipleStringLiteralsExtended The String "the field [title] should be indexed with positions and offsets in the postings list to be used with postings highlighter" appears 3 times in the file. 2270
 Warning extension MultipleStringLiteralsExtended The String "The quick brown fox jumps over the lazy dog! Second sentence." appears 7 times in the file. 2293
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 2332
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 2332
 Warning extension MultipleStringLiteralsExtended The String "--> highlighting and searching on field2" appears 6 times in the file. 2342
 Warning extension MultipleStringLiteralsExtended The String "The <em>quick</em> brown fox jumps over the lazy dog!" appears 6 times in the file. 2347
 Warning extension MultipleStringLiteralsExtended The String "qui*" appears 2 times in the file. 2389
 Warning extension MultipleStringLiteralsExtended The String "The photography word will get highlighted" appears 4 times in the file. 2438
 Warning extension MultipleStringLiteralsExtended The String "The <em>photography</em> word will get highlighted" appears 4 times in the file. 2445
 Warning extension MultipleStringLiteralsExtended The String "field1:photo*" appears 2 times in the file. 2461
 Warning extension MultipleStringLiteralsExtended The String "Sentence " appears 2 times in the file. 2514
 Warning extension MultipleStringLiteralsExtended The String "First sentence. Second sentence." appears 3 times in the file. 2541
 Warning extension MultipleStringLiteralsExtended The String "first" appears 12 times in the file. 2544
 Warning extension MultipleStringLiteralsExtended The String "<em>First</em> sentence." appears 4 times in the file. 2545
 Warning extension MultipleStringLiteralsExtended The String "my_field" appears 15 times in the file. 2547
 Warning extension MultipleStringLiteralsExtended The String "<em>First</em> sentence. Second sentence." appears 8 times in the file. 2568
 Warning extension MultipleStringLiteralsExtended The String "junk junk junk junk junk junk junk junk junk junk junk junk junk junk junk junk junk junk junk junk\n" appears 2 times in the file. 2626
 Warning extension MultipleStringLiteralsExtended The String "highlight words together" appears 6 times in the file. 2637
 Warning extension MultipleStringLiteralsExtended The String "\"highlight words together\"" appears 4 times in the file. 2643

elasticsearch/src/test/java/org/elasticsearch/search/indicesboost/SimpleIndicesBoostSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "value" appears 6 times in the file. 42
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 44
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 47
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 8 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 8 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "Query with test1 boosted" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "Hit[0] {} Explanation {}" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "Hit[1] {} Explanation {}" appears 4 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "Query with test2 boosted" appears 2 times in the file. 75

elasticsearch/src/test/java/org/elasticsearch/search/innerhits/InnerHitsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "articles" appears 61 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "article" appears 26 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 15 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "comments" appears 86 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "type" appears 20 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 8 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "message" appears 57 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "string" appears 9 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "title" appears 19 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "1" appears 47 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "quick brown fox" appears 10 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "fox eat quick" appears 12 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "fox ate rabbit x y z" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "rabbit got away" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "2" appears 32 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "big gray elephant" appears 4 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "elephant captured" appears 4 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "mice squashed by elephant x" appears 2 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "elephant scared by mice x y" appears 2 times in the file. 81
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 87
 Warning extension MultipleStringLiteralsExtended The String "comments.message" appears 29 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "fox" appears 18 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "comment" appears 53 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "elephant" appears 7 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "_doc" appears 7 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "script" appears 6 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "doc['comments.message'].value" appears 2 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "<em>fox</em> eat quick" appears 4 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "eat" appears 4 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 10 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 6 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "type=nested" appears 3 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 6 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "x" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "y" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "%03d" appears 3 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 11 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "a" appears 8 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "b" appears 8 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 8 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String "_parent" appears 6 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "type=article" appears 2 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 259
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 262
 Warning extension MultipleStringLiteralsExtended The String "doc['message'].value" appears 2 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 5 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "child1" appears 6 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "type=parent" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "child2" appears 6 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 3 times in the file. 363
 Warning extension MultipleStringLiteralsExtended The String "%04d" appears 4 times in the file. 368
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 444
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 448
 Warning extension MultipleStringLiteralsExtended The String "stack" appears 6 times in the file. 456
 Warning extension MultipleStringLiteralsExtended The String "question" appears 12 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "body" appears 7 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "answer" appears 6 times in the file. 458
 Warning extension MultipleStringLiteralsExtended The String "remark" appears 19 times in the file. 498
 Warning extension MultipleStringLiteralsExtended The String "good" appears 8 times in the file. 504
 Warning extension MultipleStringLiteralsExtended The String "bad" appears 9 times in the file. 507
 Warning extension MultipleStringLiteralsExtended The String "remarks" appears 6 times in the file. 568
 Warning extension MultipleStringLiteralsExtended The String "comments.remarks" appears 8 times in the file. 603
 Warning extension MultipleStringLiteralsExtended The String "comments.remarks.message" appears 7 times in the file. 603
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 4 times in the file. 701
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 701
 Warning extension MultipleStringLiteralsExtended The String "store" appears 4 times in the file. 706
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 4 times in the file. 706
 Warning extension MultipleStringLiteralsExtended The String "excludes" appears 2 times in the file. 777
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 777
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 815
 Warning extension MultipleStringLiteralsExtended The String "messages" appears 3 times in the file. 857
 Warning extension MultipleStringLiteralsExtended The String "comments.messages" appears 8 times in the file. 873

elasticsearch/src/test/java/org/elasticsearch/search/matchedqueries/MatchedQueriesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 27 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 15 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "1" appears 14 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "name" appears 23 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 8 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "number" appears 7 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "2" appears 13 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 8 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "3" appears 11 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "Unexpected document returned with id " appears 8 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "title" appears 22 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "title1" appears 10 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "title2" appears 7 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "title3" appears 7 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "indices_filter" appears 3 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "or" appears 4 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "content" appears 5 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "Lorem ipsum dolor sit amet" appears 2 times in the file. 216
 Warning extension MultipleStringLiteralsExtended The String "dolor" appears 3 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "elit" appears 3 times in the file. 228
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 256
 Warning extension MultipleStringLiteralsExtended The String "amet" appears 2 times in the file. 257
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 3 times in the file. 257

elasticsearch/src/test/java/org/elasticsearch/search/msearch/SimpleMultiSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "xxx" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "yyy" appears 2 times in the file. 39

elasticsearch/src/test/java/org/elasticsearch/search/preference/SearchPreferenceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "_primary" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "_local" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "_only_local" appears 4 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "1234" appears 2 times in the file. 108
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 114

elasticsearch/src/test/java/org/elasticsearch/search/query/ExistsMissingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 9 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "object" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 6 times in the file. 79
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 90
 Warning extension DiamondOperatorForVariableDefinition Diamond operator expected. 99

elasticsearch/src/test/java/org/elasticsearch/search/query/MultiMatchQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 58 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "custom" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "theone" appears 20 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "full_name" appears 36 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "first_name" appears 42 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Captain" appears 4 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "last_name" appears 41 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "category" appears 50 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "marvel hero" appears 10 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "skill" appears 10 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "int-field" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "theother" appears 12 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "marvel" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "hero" appears 2 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "bogus" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "ultimate1" appears 4 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "ultimate2" appears 5 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Man the Ultimate" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "ultimate" appears 2 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "wolferine" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "type" appears 5 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "copy_to" appears 3 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "full_name_phrase" appears 4 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "index_option" appears 3 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "docs" appears 3 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "omit_norms" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "first_name_phrase" appears 5 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "last_name_phrase" appears 5 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "marvel hero captain america" appears 13 times in the file. 158
 Warning extension MultipleStringLiteralsExtended The String "captain america" appears 21 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "category_phrase" appears 4 times in the file. 197
 Warning extension MultipleStringLiteralsExtended The String "15" appears 2 times in the file. 217
 Warning extension MultipleStringLiteralsExtended The String "_score" appears 2 times in the file. 238
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 11 times in the file. 239
 Warning extension MultipleStringLiteralsExtended The String "*_name" appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "categ*" appears 2 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "capta" appears 6 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "captain america 15" appears 2 times in the file. 446
 Warning extension MultipleStringLiteralsExtended The String "captain america marvel hero" appears 5 times in the file. 466
 Warning extension MultipleStringLiteralsExtended The String "the ultimate" appears 2 times in the file. 507
 Warning extension MultipleStringLiteralsExtended The String "query: " appears 2 times in the file. 535
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 610

elasticsearch/src/test/java/org/elasticsearch/search/query/SearchQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 399 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 138 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 6 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "1" appears 209 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 149 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "the quick brown fox jumps" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "2" appears 144 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "quick brown" appears 11 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "3" appears 95 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "quick" appears 20 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 49 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 25 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 10 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "value1_1" appears 4 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 51 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "value2_1" appears 4 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "quick brown fox" appears 8 times in the file. 166
 Warning extension MultipleStringLiteralsExtended The String "quick lazy huge brown fox" appears 6 times in the file. 167
 Warning extension MultipleStringLiteralsExtended The String "type" appears 54 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "f" appears 2 times in the file. 211
 Warning extension MultipleStringLiteralsExtended The String "test_1" appears 4 times in the file. 213
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 7 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "message" appears 3 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 6 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "comment" appears 3 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "quick lazy huge brown pidgin" appears 2 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "the quick lazy huge brown fox jumps over the tree" appears 4 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "the quick brown fox" appears 2 times in the file. 287
 Warning extension MultipleStringLiteralsExtended The String "the quick brown" appears 9 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "the lazy fox brown" appears 3 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "4" appears 39 times in the file. 318
 Warning extension MultipleStringLiteralsExtended The String "stop" appears 4 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "synonym" appears 5 times in the file. 371
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 2 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "type=string,analyzer=syns" appears 2 times in the file. 376
 Warning extension MultipleStringLiteralsExtended The String "the fast brown" appears 8 times in the file. 383
 Warning extension MultipleStringLiteralsExtended The String "the fast lazy fox brown" appears 3 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "5" appears 3 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "6" appears 2 times in the file. 411
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 470
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 481
 Warning extension MultipleStringLiteralsExtended The String "SearchPhaseExecutionException should have been thrown" appears 2 times in the file. 483
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 485
 Warning extension MultipleStringLiteralsExtended The String "value_1" appears 2 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "value_2" appears 2 times in the file. 500
 Warning extension MultipleStringLiteralsExtended The String "value*" appears 2 times in the file. 503
 Warning extension MultipleStringLiteralsExtended The String "VALUE_3~1" appears 2 times in the file. 526
 Warning extension MultipleStringLiteralsExtended The String "[VALUE_1 TO VALUE_3]" appears 2 times in the file. 534
 Warning extension MultipleStringLiteralsExtended The String "past" appears 4 times in the file. 545
 Warning extension MultipleStringLiteralsExtended The String "type=date" appears 6 times in the file. 545
 Warning extension MultipleStringLiteralsExtended The String "future" appears 2 times in the file. 545
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 560
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 3 times in the file. 591
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 596
 Warning extension MultipleStringLiteralsExtended The String "_type" appears 4 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 16 times in the file. 604
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 3 times in the file. 635
 Warning extension MultipleStringLiteralsExtended The String "10" appears 10 times in the file. 660
 Warning extension MultipleStringLiteralsExtended The String "value1_2" appears 2 times in the file. 674
 Warning extension MultipleStringLiteralsExtended The String "value2_3" appears 2 times in the file. 675
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 7 times in the file. 676
 Warning extension MultipleStringLiteralsExtended The String "value3_4" appears 2 times in the file. 676
 Warning extension MultipleStringLiteralsExtended The String "obj1" appears 4 times in the file. 686
 Warning extension MultipleStringLiteralsExtended The String "obj1_val" appears 2 times in the file. 686
 Warning extension MultipleStringLiteralsExtended The String "obj2" appears 2 times in the file. 688
 Warning extension MultipleStringLiteralsExtended The String "obj2_val" appears 2 times in the file. 688
 Warning extension MultipleStringLiteralsExtended The String "x*" appears 2 times in the file. 712
 Warning extension MultipleStringLiteralsExtended The String "{ \"term\" : { \"field1\" : \"value1_1\" } }" appears 2 times in the file. 754
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 14 times in the file. 770
 Warning extension MultipleStringLiteralsExtended The String "long" appears 5 times in the file. 785
 Warning extension MultipleStringLiteralsExtended The String "type=long" appears 4 times in the file. 785
 Warning extension MultipleStringLiteralsExtended The String "double" appears 6 times in the file. 785
 Warning extension MultipleStringLiteralsExtended The String "type=double" appears 4 times in the file. 785
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 799
 Warning extension MultipleStringLiteralsExtended The String "value4" appears 3 times in the file. 812
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 2 times in the file. 856
 Warning extension MultipleStringLiteralsExtended The String "type=string,analyzer=classic" appears 4 times in the file. 874
 Warning extension MultipleStringLiteralsExtended The String "a" appears 6 times in the file. 880
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 924
 Warning extension MultipleStringLiteralsExtended The String "70%" appears 3 times in the file. 931
 Warning extension MultipleStringLiteralsExtended The String "30%" appears 2 times in the file. 938
 Warning extension MultipleStringLiteralsExtended The String "str" appears 12 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "kimchy" appears 2 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "date" appears 46 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "2012-02-01" appears 2 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "num" appears 16 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "shay" appears 2 times in the file. 971
 Warning extension MultipleStringLiteralsExtended The String "2012-02-05" appears 2 times in the file. 971
 Warning extension MultipleStringLiteralsExtended The String "important" appears 4 times in the file. 992
 Warning extension MultipleStringLiteralsExtended The String "phrase match" appears 2 times in the file. 992
 Warning extension MultipleStringLiteralsExtended The String "less_important" appears 4 times in the file. 992
 Warning extension MultipleStringLiteralsExtended The String "nothing important" appears 2 times in the file. 992
 Warning extension MultipleStringLiteralsExtended The String "\"phrase match\"" appears 2 times in the file. 997
 Warning extension MultipleStringLiteralsExtended The String "term" appears 25 times in the file. 1044
 Warning extension MultipleStringLiteralsExtended The String "lng" appears 9 times in the file. 1061
 Warning extension MultipleStringLiteralsExtended The String "dbl" appears 9 times in the file. 1061
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 12 times in the file. 1070
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1080
 Warning extension MultipleStringLiteralsExtended The String "lookup" appears 11 times in the file. 1129
 Warning extension MultipleStringLiteralsExtended The String "terms" appears 10 times in the file. 1129
 Warning extension MultipleStringLiteralsExtended The String "other" appears 3 times in the file. 1129
 Warning extension MultipleStringLiteralsExtended The String "lookup2" appears 8 times in the file. 1130
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 3 times in the file. 1131
 Warning extension MultipleStringLiteralsExtended The String "arr" appears 4 times in the file. 1132
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 1132
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1139
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1140
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1141
 Warning extension MultipleStringLiteralsExtended The String "value" appears 5 times in the file. 1142
 Warning extension MultipleStringLiteralsExtended The String "arr.term" appears 4 times in the file. 1203
 Warning extension MultipleStringLiteralsExtended The String "type3" appears 4 times in the file. 1267
 Warning extension MultipleStringLiteralsExtended The String "num_byte" appears 9 times in the file. 1315
 Warning extension MultipleStringLiteralsExtended The String "type=byte" appears 2 times in the file. 1315
 Warning extension MultipleStringLiteralsExtended The String "num_short" appears 9 times in the file. 1315
 Warning extension MultipleStringLiteralsExtended The String "type=short" appears 2 times in the file. 1315
 Warning extension MultipleStringLiteralsExtended The String "num_integer" appears 9 times in the file. 1316
 Warning extension MultipleStringLiteralsExtended The String "type=integer" appears 4 times in the file. 1316
 Warning extension MultipleStringLiteralsExtended The String "num_long" appears 19 times in the file. 1316
 Warning extension MultipleStringLiteralsExtended The String "num_float" appears 9 times in the file. 1317
 Warning extension MultipleStringLiteralsExtended The String "type=float" appears 2 times in the file. 1317
 Warning extension MultipleStringLiteralsExtended The String "num_double" appears 9 times in the file. 1317
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1352
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1355
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1358
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1361
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1364
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1367
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1392
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1395
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1398
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1401
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1404
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1407
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 4 times in the file. 1423
 Warning extension MultipleStringLiteralsExtended The String "field" appears 38 times in the file. 1454
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 2 times in the file. 1455
 Warning extension MultipleStringLiteralsExtended The String "description" appears 34 times in the file. 1466
 Warning extension MultipleStringLiteralsExtended The String "foo other anything bar" appears 3 times in the file. 1466
 Warning extension MultipleStringLiteralsExtended The String "foo other anything" appears 3 times in the file. 1467
 Warning extension MultipleStringLiteralsExtended The String "foo other" appears 3 times in the file. 1468
 Warning extension MultipleStringLiteralsExtended The String "test.description" appears 2 times in the file. 1497
 Warning extension MultipleStringLiteralsExtended The String "count" appears 4 times in the file. 1513
 Warning extension MultipleStringLiteralsExtended The String "fop" appears 2 times in the file. 1516
 Warning extension MultipleStringLiteralsExtended The String "fox" appears 4 times in the file. 1553
 Warning extension MultipleStringLiteralsExtended The String "jumped" appears 2 times in the file. 1565
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1568
 Warning extension MultipleStringLiteralsExtended The String "ElasticsearchIllegalArgumentException should have been caught" appears 2 times in the file. 1574
 Warning extension MultipleStringLiteralsExtended The String "s" appears 6 times in the file. 1583
 Warning extension MultipleStringLiteralsExtended The String "bs" appears 8 times in the file. 1588
 Warning extension MultipleStringLiteralsExtended The String "online" appears 7 times in the file. 1591
 Warning extension MultipleStringLiteralsExtended The String "ts" appears 8 times in the file. 1594
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 1610
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.index.type" appears 3 times in the file. 1661
 Warning extension MultipleStringLiteralsExtended The String "custom" appears 8 times in the file. 1661
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.index.tokenizer" appears 3 times in the file. 1662
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 6 times in the file. 1662
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.index.filter" appears 3 times in the file. 1663
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 6 times in the file. 1663
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.search.type" appears 3 times in the file. 1664
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.search.tokenizer" appears 3 times in the file. 1665
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.search.filter" appears 3 times in the file. 1666
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.synonym.type" appears 2 times in the file. 1667
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.synonym.synonyms" appears 2 times in the file. 1668
 Warning extension MultipleStringLiteralsExtended The String "fast, quick" appears 2 times in the file. 1668
 Warning extension MultipleStringLiteralsExtended The String "text" appears 49 times in the file. 1669
 Warning extension MultipleStringLiteralsExtended The String "type=string,index_analyzer=index,search_analyzer=search" appears 3 times in the file. 1669
 Warning extension MultipleStringLiteralsExtended The String "fast" appears 2 times in the file. 1677
 Warning extension MultipleStringLiteralsExtended The String "fast brown fox" appears 2 times in the file. 1680
 Warning extension MultipleStringLiteralsExtended The String "fox runs" appears 2 times in the file. 1704
 Warning extension MultipleStringLiteralsExtended The String "true" appears 2 times in the file. 1754
 Warning extension MultipleStringLiteralsExtended The String "false" appears 5 times in the file. 1755
 Warning extension MultipleStringLiteralsExtended The String "type=string,analyzer=my_analyzer" appears 2 times in the file. 1761
 Warning extension MultipleStringLiteralsExtended The String "field1^2" appears 2 times in the file. 1783
 Warning extension MultipleStringLiteralsExtended The String "index1" appears 32 times in the file. 1797
 Warning extension MultipleStringLiteralsExtended The String "index2" appears 24 times in the file. 1797
 Warning extension MultipleStringLiteralsExtended The String "index3" appears 23 times in the file. 1797
 Warning extension MultipleStringLiteralsExtended The String "all" appears 2 times in the file. 1818
 Warning extension MultipleStringLiteralsExtended The String "none" appears 2 times in the file. 1824
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 8 times in the file. 1866
 Warning extension MultipleStringLiteralsExtended The String "related" appears 10 times in the file. 1867
 Warning extension MultipleStringLiteralsExtended The String "child" appears 10 times in the file. 1868
 Warning extension MultipleStringLiteralsExtended The String "_parent" appears 2 times in the file. 1868
 Warning extension MultipleStringLiteralsExtended The String "parent" appears 6 times in the file. 1868
 Warning extension MultipleStringLiteralsExtended The String "lone" appears 2 times in the file. 1872
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1878
 Warning extension MultipleStringLiteralsExtended The String "Should have failed as has_child query can only be executed against parent-child types" appears 2 times in the file. 1881
 Warning extension MultipleStringLiteralsExtended The String "No mapping for for type [child]" appears 2 times in the file. 1885
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1911
 Warning extension MultipleStringLiteralsExtended The String "match" appears 12 times in the file. 1935
 Warning extension MultipleStringLiteralsExtended The String "no_match" appears 6 times in the file. 1936
 Warning extension MultipleStringLiteralsExtended The String "20" appears 2 times in the file. 1938
 Warning extension MultipleStringLiteralsExtended The String "100" appears 8 times in the file. 1939
 Warning extension MultipleStringLiteralsExtended The String "200" appears 2 times in the file. 1940
 Warning extension MultipleStringLiteralsExtended The String "missing" appears 6 times in the file. 1944
 Warning extension MultipleStringLiteralsExtended The String "test3" appears 2 times in the file. 1944
 Warning extension MultipleStringLiteralsExtended The String "Returned documents should belong to either index1, index2 or index3" appears 4 times in the file. 1957
 Warning extension MultipleStringLiteralsExtended The String "Returned documents should belong to either index2 or index3" appears 2 times in the file. 1993
 Warning extension MultipleStringLiteralsExtended The String "score" appears 4 times in the file. 2076
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 3 times in the file. 2093
 Warning extension MultipleStringLiteralsExtended The String "one two three" appears 2 times in the file. 2093
 Warning extension MultipleStringLiteralsExtended The String "\"one two\"" appears 4 times in the file. 2097
 Warning extension MultipleStringLiteralsExtended The String "product.desc" appears 2 times in the file. 2101
 Warning extension MultipleStringLiteralsExtended The String "customer.desc" appears 2 times in the file. 2109
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2134
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2135
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2136
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2138
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2139
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01" appears 5 times in the file. 2150
 Warning extension MultipleStringLiteralsExtended The String "2013-01-01" appears 5 times in the file. 2155
 Warning extension MultipleStringLiteralsExtended The String "now" appears 4 times in the file. 2155
 Warning extension MultipleStringLiteralsExtended The String "2013-12-31T23:00:00" appears 4 times in the file. 2230
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T01:00:00" appears 4 times in the file. 2231
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T00:00:00" appears 2 times in the file. 2238
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T00:59:00" appears 4 times in the file. 2238
 Warning extension MultipleStringLiteralsExtended The String "2013-12-31T23:59:00" appears 2 times in the file. 2243
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T01:59:00" appears 2 times in the file. 2248
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T00:00:00Z" appears 2 times in the file. 2255
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T00:59:00Z" appears 2 times in the file. 2255
 Warning extension MultipleStringLiteralsExtended The String "+10:00" appears 6 times in the file. 2255
 Warning extension MultipleStringLiteralsExtended The String "2013-12-31T23:00:00Z" appears 2 times in the file. 2260
 Warning extension MultipleStringLiteralsExtended The String "2013-12-31T23:59:00Z" appears 2 times in the file. 2260
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T01:00:00Z" appears 2 times in the file. 2265
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T01:59:00Z" appears 2 times in the file. 2265
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T03:00:00" appears 2 times in the file. 2272
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T03:59:00" appears 2 times in the file. 2272
 Warning extension MultipleStringLiteralsExtended The String "+3:00" appears 6 times in the file. 2272
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T02:00:00" appears 2 times in the file. 2277
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T02:59:00" appears 2 times in the file. 2277
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T04:00:00" appears 2 times in the file. 2282
 Warning extension MultipleStringLiteralsExtended The String "2014-01-01T04:59:00" appears 2 times in the file. 2282
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2288
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2290
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2290
 Warning extension MultipleStringLiteralsExtended The String "+1:00" appears 4 times in the file. 2290
 Warning extension MultipleStringLiteralsExtended The String "A Range Filter using ms since epoch with a TimeZone should raise a QueryParsingException" appears 2 times in the file. 2292
 Warning extension MultipleStringLiteralsExtended The String "-1:00" appears 4 times in the file. 2298
 Warning extension MultipleStringLiteralsExtended The String "now/d-1d" appears 2 times in the file. 2304
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2310
 Warning extension MultipleStringLiteralsExtended The String "0" appears 2 times in the file. 2312
 Warning extension MultipleStringLiteralsExtended The String "A Range Filter on a numeric field with a TimeZone should raise a QueryParsingException" appears 2 times in the file. 2314
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2384
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2386
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 2386
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2406
 Warning extension MultipleStringLiteralsExtended The String "origin" appears 2 times in the file. 2434
 Warning extension MultipleStringLiteralsExtended The String "meta" appears 7 times in the file. 2434
 Warning extension MultipleStringLiteralsExtended The String "A1234" appears 2 times in the file. 2453
 Warning extension MultipleStringLiteralsExtended The String "a1234" appears 2 times in the file. 2458
 Warning extension MultipleStringLiteralsExtended The String "my_ngram_analyzer" appears 2 times in the file. 2463
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 2504
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 3 times in the file. 2544
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 2571
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 2581

elasticsearch/src/test/java/org/elasticsearch/search/query/SimpleQueryStringTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 33 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 30 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "1" appears 25 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "body" appears 26 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 11 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "2" appears 12 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 5 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "3" appears 14 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "foo bar" appears 11 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "4" appears 11 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "quux baz eggplant" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "5" appears 8 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "quux baz spaghetti" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "6" appears 8 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "otherbody" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "spaghetti" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "myquery" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "foo baz bar" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "body2" appears 8 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "foo bar baz" appears 8 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "70%" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "other" appears 5 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "7" appears 4 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "8" appears 4 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "Professio*" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "Professionan~1" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "BILL*" appears 2 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "body:BILL*" appears 2 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "tr" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "TR" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "string" appears 3 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "foo | bar" appears 2 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "baz | egg*" appears 2 times in the file. 263
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 4 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "num" appears 3 times in the file. 308
 Warning extension MultipleStringLiteralsExtended The String "location" appears 3 times in the file. 326

elasticsearch/src/test/java/org/elasticsearch/search/rescore/QueryRescorerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 49 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "type" appears 7 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 39 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 6 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 76 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 9 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "string" appears 6 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "1" appears 16 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "the quick brown fox" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "2" appears 18 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "the quick lazy huge brown fox jumps over the tree" appears 4 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String "3" appears 19 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "quick huge brown" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "the quick brown" appears 11 times in the file. 106
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around assignment right-hand side. 127
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.synonym.tokenizer" appears 3 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.synonym.filter" appears 3 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "synonym" appears 9 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 3 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.synonym.type" appears 3 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.synonym.synonyms" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "ave => ave, avenue" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "street => str, street" appears 3 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "index_analyzer" appears 3 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "search_analyzer" appears 3 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "6" appears 10 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "massachusetts avenue lexington massachusetts" appears 3 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "7" appears 2 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "8" appears 3 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "lexington avenue massachusetts" appears 9 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "massachusetts" appears 7 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "lexington massachusetts avenue" appears 2 times in the file. 232
 Warning extension MultipleStringLiteralsExtended The String "lexington avenue boston massachusetts road" appears 2 times in the file. 233
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 342
 Warning extension MultipleStringLiteralsExtended The String "query: " appears 2 times in the file. 366
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 385
 Warning extension MultipleStringLiteralsExtended The String "sum of:" appears 3 times in the file. 511
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 518
 Warning extension MultipleStringLiteralsExtended The String "max" appears 3 times in the file. 518
 Warning extension MultipleStringLiteralsExtended The String "min" appears 3 times in the file. 518
 Warning extension MultipleStringLiteralsExtended The String "avg" appears 3 times in the file. 518
 Warning extension MultipleStringLiteralsExtended The String "total" appears 7 times in the file. 518
 Warning extension MultipleStringLiteralsExtended The String "multiply" appears 3 times in the file. 518
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 519
 Warning extension MultipleStringLiteralsExtended The String "keyword" appears 2 times in the file. 574
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 576
 Warning extension MultipleStringLiteralsExtended The String "5.0f" appears 2 times in the file. 588
 Warning extension MultipleStringLiteralsExtended The String "1000.0f" appears 3 times in the file. 664

elasticsearch/src/test/java/org/elasticsearch/search/scan/SearchScanScrollingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 45

elasticsearch/src/test/java/org/elasticsearch/search/scan/SearchScanTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "tweet" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "user" appears 3 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "kimchy1" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "postDate" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "message" appears 2 times in the file. 52

elasticsearch/src/test/java/org/elasticsearch/search/scriptfilter/ScriptFilterSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 17 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 6 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1" appears 8 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "value beck" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "num1" appears 6 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "3" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "sNum1" appears 9 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "doc['num1'].value" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "running doc['num1'].value > param1" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "doc['num1'].value > param1" appears 2 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "param1" appears 4 times in the file. 81
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 106
 Warning extension MultipleStringLiteralsExtended The String "num" appears 3 times in the file. 119

elasticsearch/src/test/java/org/elasticsearch/search/scroll/DuelScrollTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 5 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "10m" appears 4 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "type" appears 8 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "long" appears 2 times in the file. 139
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 3 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 142
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 3 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "field3" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "field4" appears 2 times in the file. 150
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 196

elasticsearch/src/test/java/org/elasticsearch/search/scroll/SearchScrollTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 25 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 5 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 4 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "field" appears 12 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "1" appears 6 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "tweet" appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "postDate" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "message" appears 10 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String "update" appears 5 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 2 times in the file. 308
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 322
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 327
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 333
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 419
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 420
 Warning extension MultipleStringLiteralsExtended The String "1m" appears 4 times in the file. 431
 Warning extension MultipleStringLiteralsExtended The String "no_field" appears 3 times in the file. 464
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 464
 Warning extension MultipleStringLiteralsExtended The String "some_field" appears 2 times in the file. 464

elasticsearch/src/test/java/org/elasticsearch/search/scroll/SearchScrollWithFailingNodesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 59

elasticsearch/src/test/java/org/elasticsearch/search/scroll/SlowDuelScrollTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 36

elasticsearch/src/test/java/org/elasticsearch/search/scroll/SlowSearchScrollTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 35

elasticsearch/src/test/java/org/elasticsearch/search/simple/SimpleSearchTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 49
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 4 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "XXX1" appears 4 times in the file. 50
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 56
 Warning extension MultipleStringLiteralsExtended The String "test" appears 36 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "type" appears 11 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "1" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "field" appears 21 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "2" appears 4 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 14 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "from" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "ip" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "to" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "192.168.0.7" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "2010-01-05T02:00" appears 3 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "2010-01-06T02:00" appears 3 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "2010-01-05" appears 4 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "2010-01-06" appears 4 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "date_field" appears 5 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "Di, 05 Dez 2000 02:55:00 -0800" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "2010-01-" appears 2 times in the file. 222
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 239
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 247
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 3 times in the file. 252
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 255

elasticsearch/src/test/java/org/elasticsearch/search/sort/SimpleSortTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 73
 Warning extension MultipleStringLiteralsExtended The String "test_" appears 2 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "test" appears 84 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "entry" appears 6 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "type" appears 66 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 4 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "timeUpdated" appears 5 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "%02d" appears 3 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "/01" appears 2 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "$index" appears 3 times in the file. 152
 Warning extension MultipleStringLiteralsExtended The String "$type" appears 3 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "data.activity.5" appears 3 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "data.activity.6" appears 3 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "grantee" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 38 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "id" appears 27 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "1" appears 37 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "svalue" appears 14 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "aaa" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "ivalue" appears 2 times in the file. 177
 Warning extension MultipleStringLiteralsExtended The String "dvalue" appears 4 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "2" appears 29 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "bbb" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 11 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "sparse_bytes" appears 4 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "string" appears 15 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "index" appears 19 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 10 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "dense_bytes" appears 3 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "field" appears 15 times in the file. 294
 Warning extension MultipleStringLiteralsExtended The String "10" appears 12 times in the file. 299
 Warning extension MultipleStringLiteralsExtended The String "100" appears 5 times in the file. 300
 Warning extension MultipleStringLiteralsExtended The String "3" appears 24 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "_source.field" appears 6 times in the file. 347
 Warning extension MultipleStringLiteralsExtended The String "_score" appears 4 times in the file. 354
 Warning extension MultipleStringLiteralsExtended The String "post" appears 3 times in the file. 403
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 410
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 417
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 419
 Warning extension MultipleStringLiteralsExtended The String "tag" appears 6 times in the file. 424
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 430
 Warning extension MultipleStringLiteralsExtended The String "str_value" appears 5 times in the file. 455
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 21 times in the file. 455
 Warning extension MultipleStringLiteralsExtended The String "format" appears 21 times in the file. 455
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 21 times in the file. 455
 Warning extension MultipleStringLiteralsExtended The String "boolean_value" appears 2 times in the file. 456
 Warning extension MultipleStringLiteralsExtended The String "byte_value" appears 4 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "byte" appears 2 times in the file. 457
 Warning extension MultipleStringLiteralsExtended The String "short_value" appears 4 times in the file. 458
 Warning extension MultipleStringLiteralsExtended The String "short" appears 2 times in the file. 458
 Warning extension MultipleStringLiteralsExtended The String "integer_value" appears 4 times in the file. 459
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 3 times in the file. 459
 Warning extension MultipleStringLiteralsExtended The String "long_value" appears 4 times in the file. 460
 Warning extension MultipleStringLiteralsExtended The String "long" appears 9 times in the file. 460
 Warning extension MultipleStringLiteralsExtended The String "float_value" appears 4 times in the file. 461
 Warning extension MultipleStringLiteralsExtended The String "float" appears 3 times in the file. 461
 Warning extension MultipleStringLiteralsExtended The String "double_value" appears 4 times in the file. 462
 Warning extension MultipleStringLiteralsExtended The String "double" appears 5 times in the file. 462
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 468
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 483
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 505
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 518
 Warning extension MultipleStringLiteralsExtended The String "error" appears 11 times in the file. 521
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 536
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 549
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 641
 Warning extension MultipleStringLiteralsExtended The String "value" appears 9 times in the file. 747
 Warning extension MultipleStringLiteralsExtended The String "lvalue" appears 2 times in the file. 765
 Warning extension MultipleStringLiteralsExtended The String "gvalue" appears 2 times in the file. 768
 Warning extension MultipleStringLiteralsExtended The String "ord" appears 6 times in the file. 775
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 776
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 777
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 778
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 4 times in the file. 780
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 4 times in the file. 781
 Warning extension MultipleStringLiteralsExtended The String "min" appears 15 times in the file. 797
 Warning extension MultipleStringLiteralsExtended The String "res: " appears 4 times in the file. 805
 Warning extension MultipleStringLiteralsExtended The String " id: " appears 4 times in the file. 805
 Warning extension MultipleStringLiteralsExtended The String "doc['id'].value" appears 3 times in the file. 882
 Warning extension MultipleStringLiteralsExtended The String "Failed shards:" appears 2 times in the file. 913
 Warning extension MultipleStringLiteralsExtended The String "-> {}" appears 2 times in the file. 915
 Warning extension MultipleStringLiteralsExtended The String "i_value" appears 7 times in the file. 951
 Warning extension MultipleStringLiteralsExtended The String "d_value" appears 4 times in the file. 955
 Warning extension MultipleStringLiteralsExtended The String "--> sort with no missing (same as missing _last)" appears 2 times in the file. 982
 Warning extension MultipleStringLiteralsExtended The String "--> sort with missing _last" appears 2 times in the file. 994
 Warning extension MultipleStringLiteralsExtended The String "_last" appears 2 times in the file. 997
 Warning extension MultipleStringLiteralsExtended The String "--> sort with missing _first" appears 2 times in the file. 1006
 Warning extension MultipleStringLiteralsExtended The String "_first" appears 2 times in the file. 1009
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1051
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1054
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1118
 Warning extension MultipleStringLiteralsExtended The String "kkk" appears 2 times in the file. 1121
 Warning extension MultipleStringLiteralsExtended The String "long_values" appears 7 times in the file. 1142
 Warning extension MultipleStringLiteralsExtended The String "int_values" appears 6 times in the file. 1143
 Warning extension MultipleStringLiteralsExtended The String "short_values" appears 6 times in the file. 1144
 Warning extension MultipleStringLiteralsExtended The String "byte_values" appears 6 times in the file. 1145
 Warning extension MultipleStringLiteralsExtended The String "float_values" appears 6 times in the file. 1146
 Warning extension MultipleStringLiteralsExtended The String "double_values" appears 6 times in the file. 1147
 Warning extension MultipleStringLiteralsExtended The String "string_values" appears 14 times in the file. 1148
 Warning extension MultipleStringLiteralsExtended The String "01" appears 5 times in the file. 1159
 Warning extension MultipleStringLiteralsExtended The String "05" appears 2 times in the file. 1159
 Warning extension MultipleStringLiteralsExtended The String "08" appears 2 times in the file. 1159
 Warning extension MultipleStringLiteralsExtended The String "11" appears 2 times in the file. 1168
 Warning extension MultipleStringLiteralsExtended The String "15" appears 2 times in the file. 1168
 Warning extension MultipleStringLiteralsExtended The String "20" appears 6 times in the file. 1168
 Warning extension MultipleStringLiteralsExtended The String "07" appears 3 times in the file. 1168
 Warning extension MultipleStringLiteralsExtended The String "02" appears 2 times in the file. 1177
 Warning extension MultipleStringLiteralsExtended The String "03" appears 5 times in the file. 1177
 Warning extension MultipleStringLiteralsExtended The String "!4" appears 3 times in the file. 1177
 Warning extension MultipleStringLiteralsExtended The String "some_other_field" appears 3 times in the file. 1483
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 3 times in the file. 1483
 Warning extension MultipleStringLiteralsExtended The String "typ" appears 3 times in the file. 1559
 Warning extension MultipleStringLiteralsExtended The String "_uid" appears 2 times in the file. 1560
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 1561
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 1561
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 4 times in the file. 1562
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1587
 Warning extension MultipleStringLiteralsExtended The String "nested" appears 3 times in the file. 1629
 Warning extension MultipleStringLiteralsExtended The String "bar bar" appears 2 times in the file. 1650
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 10 times in the file. 1692
 Warning extension MultipleStringLiteralsExtended The String "type=long" appears 3 times in the file. 1694
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 10 times in the file. 1695
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 1699
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1725
 Warning extension MultipleStringLiteralsExtended The String "location" appears 18 times in the file. 1736
 Warning extension MultipleStringLiteralsExtended The String "type=geo_point" appears 3 times in the file. 1736
 Warning extension MultipleStringLiteralsExtended The String "d1" appears 11 times in the file. 1748
 Warning extension MultipleStringLiteralsExtended The String "d2" appears 11 times in the file. 1749
 Warning extension MultipleStringLiteralsExtended The String "max" appears 3 times in the file. 1778
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1807
 Warning extension MultipleStringLiteralsExtended The String "sort" appears 4 times in the file. 1867
 Warning extension MultipleStringLiteralsExtended The String "_geo_distance" appears 4 times in the file. 1867
 Warning extension MultipleStringLiteralsExtended The String "unit" appears 4 times in the file. 1896
 Warning extension MultipleStringLiteralsExtended The String "km" appears 4 times in the file. 1896
 Warning extension MultipleStringLiteralsExtended The String "distance_type" appears 4 times in the file. 1898
 Warning extension MultipleStringLiteralsExtended The String "plane" appears 4 times in the file. 1898
 Warning extension MultipleStringLiteralsExtended The String "s037ms06g7h0" appears 3 times in the file. 1917
 Warning extension MultipleStringLiteralsExtended The String "long_field" appears 3 times in the file. 1999
 Warning extension MultipleStringLiteralsExtended The String "double_field" appears 3 times in the file. 2000
 Warning extension MultipleStringLiteralsExtended The String "str_field" appears 2 times in the file. 2004
 Warning extension MultipleStringLiteralsExtended The String "bcd" appears 2 times in the file. 2004

elasticsearch/src/test/java/org/elasticsearch/search/sort/SortParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "location" appears 10 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "order" appears 9 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "desc" appears 9 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "unit" appears 9 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "km" appears 9 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "sort_mode" appears 9 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "max" appears 9 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1,2" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "s3y0zh7w1z0g" appears 3 times in the file. 85

elasticsearch/src/test/java/org/elasticsearch/search/source/SourceFetchingTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 18 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "field" appears 7 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "value" appears 7 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 2 times in the file. 59
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 77
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 77
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 96
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 101

elasticsearch/src/test/java/org/elasticsearch/search/stats/SearchStatsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 9 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "field" appears 5 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "value" appears 4 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 5 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "group1" appears 6 times in the file. 93

elasticsearch/src/test/java/org/elasticsearch/search/stats/SearchStatsUnitTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "group1" appears 5 times in the file. 38

elasticsearch/src/test/java/org/elasticsearch/search/suggest/CompletionSuggestSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Foo Fighters" appears 30 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "Generator" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Foo Fighters Generator" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Learn to Fly" appears 3 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "Foo Fighters Learn to Fly" appears 4 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "The Prodigy" appears 12 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "Firestarter" appears 6 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "The Prodigy Firestarter" appears 6 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "Turbonegro" appears 8 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "Get it on" appears 3 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "Turbonegro Get it on" appears 4 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "input" appears 34 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "f" appears 9 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "t" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "1" appears 37 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "Firestarter - The Prodigy" appears 3 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "Generator - Foo Fighters" appears 4 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "Learn to Fly - Foo Fighters" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "ge" appears 2 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "Get it on - Turbonegro" appears 4 times in the file. 138
 Warning extension MultipleStringLiteralsExtended The String "the" appears 3 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "The Verve" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "The the" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "weight" appears 11 times in the file. 154
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 168
 Warning extension MultipleStringLiteralsExtended The String "sth" appears 2 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "testing" appears 4 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "testSuggestions" appears 12 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "test" appears 6 times in the file. 195
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 212
 Warning extension MultipleStringLiteralsExtended The String "thisIsNotValid" appears 2 times in the file. 216
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 230
 Warning extension MultipleStringLiteralsExtended The String "output" appears 11 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "Boo Fighters" appears 9 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 6 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 31 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "spam" appears 3 times in the file. 268
 Warning extension MultipleStringLiteralsExtended The String "eggs" appears 3 times in the file. 268
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 349
 Warning extension MultipleStringLiteralsExtended The String "2" appears 6 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "Foof" appears 4 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "foof" appears 2 times in the file. 384
 Warning extension MultipleStringLiteralsExtended The String "The incredible Foo Fighters" appears 3 times in the file. 416
 Warning extension MultipleStringLiteralsExtended The String "classic" appears 2 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "The Beatles" appears 3 times in the file. 450
 Warning extension MultipleStringLiteralsExtended The String "b" appears 2 times in the file. 456
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 4 times in the file. 463
 Warning extension MultipleStringLiteralsExtended The String "suggest_analyzer_synonyms" appears 2 times in the file. 467
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 11 times in the file. 487
 Warning extension MultipleStringLiteralsExtended The String "type" appears 15 times in the file. 489
 Warning extension MultipleStringLiteralsExtended The String "string" appears 4 times in the file. 489
 Warning extension MultipleStringLiteralsExtended The String "path" appears 4 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "just_name" appears 4 times in the file. 490
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 2 times in the file. 504
 Warning extension MultipleStringLiteralsExtended The String "suggest" appears 6 times in the file. 506
 Warning extension MultipleStringLiteralsExtended The String "completion" appears 10 times in the file. 506
 Warning extension MultipleStringLiteralsExtended The String "index_analyzer" appears 3 times in the file. 506
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 9 times in the file. 506
 Warning extension MultipleStringLiteralsExtended The String "search_analyzer" appears 3 times in the file. 506
 Warning extension MultipleStringLiteralsExtended The String "suggs" appears 8 times in the file. 515
 Warning extension MultipleStringLiteralsExtended The String "Nirvana" appears 13 times in the file. 579
 Warning extension MultipleStringLiteralsExtended The String "Nirw" appears 2 times in the file. 591
 Warning extension MultipleStringLiteralsExtended The String "Norw" appears 2 times in the file. 610
 Warning extension MultipleStringLiteralsExtended The String "Nriv" appears 2 times in the file. 634
 Warning extension MultipleStringLiteralsExtended The String "ööööö" appears 3 times in the file. 696
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 3 times in the file. 729
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 773
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 778
 Warning extension MultipleStringLiteralsExtended The String "Feed trolls" appears 7 times in the file. 798
 Warning extension MultipleStringLiteralsExtended The String "Feed the trolls" appears 8 times in the file. 805
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 823
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 929
 Warning extension MultipleStringLiteralsExtended The String "somefield" appears 2 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "somevalue" appears 2 times in the file. 970
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 4 times in the file. 1017
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 1057
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1094
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1098
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1100
 Warning extension MultipleStringLiteralsExtended The String "_1" appears 2 times in the file. 1122
 Warning extension MultipleStringLiteralsExtended The String "nulls make me sad" appears 2 times in the file. 1122
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1125
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1131

elasticsearch/src/test/java/org/elasticsearch/search/suggest/CompletionTokenStreamTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "mykeyword" appears 7 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "Surface keyword|friggin payload|10" appears 8 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "mysynonym" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String " " appears 2 times in the file. 88
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 109
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 118

elasticsearch/src/test/java/org/elasticsearch/search/suggest/ContextSuggestSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 7 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "Afari, Jamal" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "St. John" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "St. John Allerdyce" appears 6 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "Beaubier, Jeanne-Marie" appears 6 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "Corbo, Adrian" appears 6 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Adrian Corbo" appears 6 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Adrian" appears 6 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "Crichton, Lady Jacqueline Falsworth" appears 6 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "MacKenzie, Al" appears 3 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "MacPherran, Mary \"Skeeter\"" appears 5 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Mary MacPherran \"Skeeter\"" appears 10 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "MacPherran, Mary" appears 5 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Skeeter" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "Mary MacPherran" appears 10 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "MacTaggert, Moira" appears 5 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Moira MacTaggert" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Moira" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "Mikhail Rasputin" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Mikhail" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "Smythe, Alistair" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Smythe, Spencer" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Spencer Smythe" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Spencer" appears 6 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Whitemane, Aelfyre" appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "Whitemane, Kofi" appears 6 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "st" appears 25 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "input" appears 31 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "Hotel Amsterdam" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "Amsterdam" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "output" appears 5 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "Hotel Amsterdam in Berlin" appears 6 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "context" appears 42 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "1" appears 21 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "Hotel Berlin" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "Berlin" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "Hotel Berlin in Amsterdam" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "2" appears 16 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "h" appears 7 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 15 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "completion" appears 20 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "type" appears 29 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "location" appears 24 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "geo" appears 9 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "precision" appears 9 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "pin" appears 4 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "index_analyzer" appears 2 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 4 times in the file. 208
 Warning extension MultipleStringLiteralsExtended The String "search_analyzer" appears 2 times in the file. 209
 Warning extension MultipleStringLiteralsExtended The String "pizza" appears 25 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "food" appears 12 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "payload" appears 8 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "group" appears 2 times in the file. 320
 Warning extension MultipleStringLiteralsExtended The String "a" appears 7 times in the file. 327
 Warning extension MultipleStringLiteralsExtended The String "b" appears 11 times in the file. 328
 Warning extension MultipleStringLiteralsExtended The String "c" appears 6 times in the file. 329
 Warning extension MultipleStringLiteralsExtended The String "mary" appears 7 times in the file. 330
 Warning extension MultipleStringLiteralsExtended The String "s" appears 15 times in the file. 331
 Warning extension MultipleStringLiteralsExtended The String "w" appears 10 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "suggest_field" appears 4 times in the file. 342
 Warning extension MultipleStringLiteralsExtended The String "color" appears 14 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "category" appears 8 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "backpack_red" appears 3 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "red" appears 7 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "all_colors" appears 3 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "backpack_green" appears 3 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "green" appears 2 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "suggestion" appears 17 times in the file. 376
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 387
 Warning extension MultipleStringLiteralsExtended The String "_type" appears 4 times in the file. 397
 Warning extension MultipleStringLiteralsExtended The String "nd" appears 6 times in the file. 397
 Warning extension MultipleStringLiteralsExtended The String "my hotel" appears 2 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "|" appears 2 times in the file. 404
 Warning extension MultipleStringLiteralsExtended The String "m" appears 2 times in the file. 409
 Warning extension MultipleStringLiteralsExtended The String "0" appears 17 times in the file. 427
 Warning extension MultipleStringLiteralsExtended The String "categoryA" appears 6 times in the file. 467
 Warning extension MultipleStringLiteralsExtended The String "categoryB" appears 6 times in the file. 467
 Warning extension MultipleStringLiteralsExtended The String "A" appears 6 times in the file. 481
 Warning extension MultipleStringLiteralsExtended The String "B" appears 3 times in the file. 486
 Warning extension MultipleStringLiteralsExtended The String "C" appears 3 times in the file. 487
 Warning extension MultipleStringLiteralsExtended The String "mac" appears 2 times in the file. 514
 Warning extension MultipleStringLiteralsExtended The String "u33dc1" appears 4 times in the file. 557
 Warning extension MultipleStringLiteralsExtended The String "poi" appears 5 times in the file. 560
 Warning extension MultipleStringLiteralsExtended The String "suggest" appears 31 times in the file. 560
 Warning extension MultipleStringLiteralsExtended The String "default" appears 3 times in the file. 565
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 12 times in the file. 565
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 12 times in the file. 565
 Warning extension MultipleStringLiteralsExtended The String "Berlin Alexanderplatz" appears 8 times in the file. 573
 Warning extension MultipleStringLiteralsExtended The String "service" appears 4 times in the file. 584
 Warning extension MultipleStringLiteralsExtended The String "path" appears 4 times in the file. 588
 Warning extension MultipleStringLiteralsExtended The String "backback" appears 2 times in the file. 597
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 600
 Warning extension MultipleStringLiteralsExtended The String "text" appears 3 times in the file. 626
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 628
 Warning extension MultipleStringLiteralsExtended The String "1km" appears 2 times in the file. 629
 Warning extension MultipleStringLiteralsExtended The String "item" appears 23 times in the file. 642
 Warning extension MultipleStringLiteralsExtended The String "Hoodie red" appears 4 times in the file. 653
 Warning extension MultipleStringLiteralsExtended The String "Hoodie blue" appears 2 times in the file. 654
 Warning extension MultipleStringLiteralsExtended The String "blue" appears 2 times in the file. 654
 Warning extension MultipleStringLiteralsExtended The String "weight" appears 6 times in the file. 709
 Warning extension MultipleStringLiteralsExtended The String "Berlin Poelchaustr." appears 2 times in the file. 710
 Warning extension MultipleStringLiteralsExtended The String "Berlin Dahlem" appears 2 times in the file. 712
 Warning extension MultipleStringLiteralsExtended The String "loc" appears 3 times in the file. 758
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 775
 Warning extension MultipleStringLiteralsExtended The String "suggest_geo" appears 5 times in the file. 793
 Warning extension MultipleStringLiteralsExtended The String "Hotel Marriot in Amsterdam" appears 3 times in the file. 808
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 834
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 837
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 840
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 857
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 884
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 986
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 987

elasticsearch/src/test/java/org/elasticsearch/search/suggest/CustomSuggester.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "%s-%s-%s-%s" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "suffix" appears 2 times in the file. 46

elasticsearch/src/test/java/org/elasticsearch/search/suggest/CustomSuggesterSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "someName" appears 2 times in the file. 66

elasticsearch/src/test/java/org/elasticsearch/search/suggest/SuggestSearchTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 83 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 66 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "1" appears 17 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "text" appears 36 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "abcd" appears 12 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "2" appears 15 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "aacd" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "3" appears 11 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "abbd" appears 5 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "4" appears 7 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "abcc" appears 5 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "always" appears 32 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "test_1" appears 5 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String "ab cd" appears 4 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "aa cd" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "ab bd" appears 2 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "ab cc" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 12 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "type" appears 26 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "string" appears 22 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 18 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "test_2" appears 9 times in the file. 104
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 123
 Warning extension MultipleStringLiteralsExtended The String " can not suggest across multiple indices with different analysis chains" appears 2 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "Suggest entries have different sizes actual [1] expected [2]" appears 2 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "Suggest entries have different sizes actual [2] expected [1]" appears 2 times in the file. 130
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 143
 Warning extension MultipleStringLiteralsExtended The String "Suggest entries have different text actual [ABCD] expected [abcd]" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "Suggest entries have different text actual [abcd] expected [ABCD]" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.biword.tokenizer" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 24 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.biword.filter" appears 2 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "shingler" appears 4 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "lowercase" appears 20 times in the file. 162
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.shingler.type" appears 4 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "shingle" appears 13 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.shingler.min_shingle_size" appears 4 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.shingler.max_shingle_size" appears 4 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "name" appears 22 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "multi_field" appears 4 times in the file. 170
 Warning extension MultipleStringLiteralsExtended The String "path" appears 4 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "just_name" appears 4 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "fields" appears 4 times in the file. 172
 Warning extension MultipleStringLiteralsExtended The String "name_shingled" appears 4 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "index_analyzer" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "biword" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "search_analyzer" appears 2 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "I like iced tea" appears 2 times in the file. 189
 Warning extension MultipleStringLiteralsExtended The String "I like tea." appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "I like ice cream." appears 2 times in the file. 191
 Warning extension MultipleStringLiteralsExtended The String "did_you_mean" appears 10 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "ice tea" appears 3 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "iced tea" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "didn't ask for suggestions but got some" appears 2 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "abc0" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "tetsting sugestion" appears 5 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 8 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 8 times in the file. 322
 Warning extension MultipleStringLiteralsExtended The String "typ1" appears 6 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 14 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "prefix_abcd" appears 3 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 11 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "prefix_efgh" appears 4 times in the file. 343
 Warning extension MultipleStringLiteralsExtended The String "prefix_aacd" appears 7 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "prefix_eeeh" appears 3 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String "prefix_efff" appears 2 times in the file. 345
 Warning extension MultipleStringLiteralsExtended The String "prefix_abcc" appears 5 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "prefix_eggg" appears 2 times in the file. 346
 Warning extension MultipleStringLiteralsExtended The String "size1" appears 2 times in the file. 350
 Warning extension MultipleStringLiteralsExtended The String "accuracy" appears 2 times in the file. 356
 Warning extension MultipleStringLiteralsExtended The String "prefix_aaad" appears 2 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "prefix_abbb" appears 2 times in the file. 374
 Warning extension MultipleStringLiteralsExtended The String "prefix_aaca" appears 2 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "prefix_abba" appears 2 times in the file. 376
 Warning extension MultipleStringLiteralsExtended The String "prefix_accc" appears 2 times in the file. 377
 Warning extension MultipleStringLiteralsExtended The String "prefix_addd" appears 2 times in the file. 378
 Warning extension MultipleStringLiteralsExtended The String "prefix_abaa" appears 2 times in the file. 379
 Warning extension MultipleStringLiteralsExtended The String "prefix_dbca" appears 2 times in the file. 380
 Warning extension MultipleStringLiteralsExtended The String "prefix_cbad" appears 2 times in the file. 381
 Warning extension MultipleStringLiteralsExtended The String "prefix_accd" appears 4 times in the file. 384
 Warning extension MultipleStringLiteralsExtended The String "size3SortScoreFirst" appears 2 times in the file. 394
 Warning extension MultipleStringLiteralsExtended The String "size10SortScoreFirst" appears 2 times in the file. 396
 Warning extension MultipleStringLiteralsExtended The String "size3SortScoreFirstMaxEdits1" appears 2 times in the file. 398
 Warning extension MultipleStringLiteralsExtended The String "size10SortFrequencyFirst" appears 2 times in the file. 401
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 407
 Warning extension MultipleStringLiteralsExtended The String "body" appears 39 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "simple_phrase" appears 37 times in the file. 428
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.reverse.tokenizer" appears 3 times in the file. 438
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.reverse.filter" appears 3 times in the file. 439
 Warning extension MultipleStringLiteralsExtended The String "reverse" appears 8 times in the file. 439
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.body.tokenizer" appears 5 times in the file. 440
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.body.filter" appears 5 times in the file. 441
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.bigram.tokenizer" appears 4 times in the file. 442
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.bigram.filter" appears 4 times in the file. 443
 Warning extension MultipleStringLiteralsExtended The String "my_shingle" appears 7 times in the file. 443
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_shingle.type" appears 7 times in the file. 444
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_shingle.output_unigrams" appears 7 times in the file. 445
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_shingle.min_shingle_size" appears 7 times in the file. 446
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_shingle.max_shingle_size" appears 7 times in the file. 447
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 5 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "store" appears 5 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 5 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "termVector" appears 5 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "with_positions_offsets" appears 5 times in the file. 449
 Warning extension MultipleStringLiteralsExtended The String "body_reverse" appears 7 times in the file. 452
 Warning extension MultipleStringLiteralsExtended The String "bigram" appears 17 times in the file. 453
 Warning extension MultipleStringLiteralsExtended The String "hello world" appears 3 times in the file. 459
 Warning extension MultipleStringLiteralsExtended The String "hello words" appears 2 times in the file. 461
 Warning extension MultipleStringLiteralsExtended The String "hello word" appears 2 times in the file. 464
 Warning extension MultipleStringLiteralsExtended The String "/config/names.txt" appears 2 times in the file. 516
 Warning extension MultipleStringLiteralsExtended The String "american ame" appears 3 times in the file. 525
 Warning extension MultipleStringLiteralsExtended The String "american ace" appears 2 times in the file. 526
 Warning extension MultipleStringLiteralsExtended The String "Xor the Got-Jewel" appears 17 times in the file. 530
 Warning extension MultipleStringLiteralsExtended The String "xorr the god jewel" appears 13 times in the file. 531
 Warning extension MultipleStringLiteralsExtended The String "Xorr the God-Jewel" appears 3 times in the file. 543
 Warning extension MultipleStringLiteralsExtended The String "Xor the Got-Jewel Xor the Got-Jewel Xor the Got-Jewel" appears 2 times in the file. 602
 Warning extension MultipleStringLiteralsExtended The String "Xorr the Gut-Jewel" appears 2 times in the file. 664
 Warning extension MultipleStringLiteralsExtended The String "ngram" appears 5 times in the file. 702
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 723
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 729
 Warning extension MultipleStringLiteralsExtended The String "analyzer does only produce ngrams" appears 2 times in the file. 731
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 736
 Warning extension MultipleStringLiteralsExtended The String "simple" appears 2 times in the file. 777
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.suggest.tokenizer" appears 2 times in the file. 786
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.suggest.filter" appears 2 times in the file. 787
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.shingler.output_unigrams" appears 2 times in the file. 791
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 11 times in the file. 793
 Warning extension MultipleStringLiteralsExtended The String "suggest" appears 3 times in the file. 801
 Warning extension MultipleStringLiteralsExtended The String "Just testing the suggestions api" appears 2 times in the file. 815
 Warning extension MultipleStringLiteralsExtended The String "An other title about equal length" appears 2 times in the file. 816
 Warning extension MultipleStringLiteralsExtended The String "testing suggestions" appears 2 times in the file. 832
 Warning extension MultipleStringLiteralsExtended The String "nobel prize" appears 3 times in the file. 919
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.text.tokenizer" appears 2 times in the file. 957
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.text.filter" appears 2 times in the file. 958
 Warning extension MultipleStringLiteralsExtended The String "title" appears 25 times in the file. 968
 Warning extension MultipleStringLiteralsExtended The String "State" appears 2 times in the file. 1000
 Warning extension MultipleStringLiteralsExtended The String "Houses of Parliament" appears 2 times in the file. 1001
 Warning extension MultipleStringLiteralsExtended The String "Representative Government" appears 2 times in the file. 1002
 Warning extension MultipleStringLiteralsExtended The String "Election" appears 2 times in the file. 1003
 Warning extension MultipleStringLiteralsExtended The String "united states house of representatives elections in washington 2006" appears 13 times in the file. 1086
 Warning extension MultipleStringLiteralsExtended The String "match_phrase" appears 3 times in the file. 1158
 Warning extension MultipleStringLiteralsExtended The String "{{suggestion}}" appears 5 times in the file. 1159
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1182
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1214
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1232
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1250
 Warning extension ReturnCountExtended Return count for 'searchSuggest' method is 2 (max allowed is 1). 1273

elasticsearch/src/test/java/org/elasticsearch/search/suggest/completion/AnalyzingCompletionLookupProviderV1.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 62
 Warning extension MultipleStringLiteralsExtended The String "analyzing" appears 2 times in the file. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 75
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 103
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 145
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 151
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 160

elasticsearch/src/test/java/org/elasticsearch/search/suggest/completion/CompletionPostingsFormatTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo.txt" appears 6 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 13 times in the file. 76
 Warning extension MultipleStringLiteralsExtended The String "Generator - Foo Fighters" appears 3 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "id:10" appears 3 times in the file. 80
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 178
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 217
 Warning extension MultipleStringLiteralsExtended The String "maxAnalyzedPathsForOneInput" appears 2 times in the file. 235
 Warning extension MultipleStringLiteralsExtended The String " - " appears 2 times in the file. 259
 Warning extension MultipleStringLiteralsExtended The String "foofightersgenerator" appears 2 times in the file. 334
 Warning extension MultipleStringLiteralsExtended The String "generator" appears 2 times in the file. 340

elasticsearch/src/test/java/org/elasticsearch/search/suggest/context/GeoLocationContextMappingTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "lat" appears 7 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "lon" appears 7 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String "precision" appears 10 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 15 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "default" appears 4 times in the file. 63
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 97
 Warning extension MultipleStringLiteralsExtended The String "location" appears 3 times in the file. 149
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 159

elasticsearch/src/test/java/org/elasticsearch/search/suggest/phrase/NoisyChannelSpellCheckerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " " appears 34 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "body_ngram" appears 24 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "body" appears 38 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "/config/names.txt" appears 3 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "american ame" appears 7 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "american ace" appears 5 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "Xor the Got-Jewel" appears 7 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "xorr the god jewel" appears 10 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "xor the god jewel" appears 6 times in the file. 125
 Warning extension MultipleStringLiteralsExtended The String "xorn the god jewel" appears 5 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "xorr the got jewel" appears 4 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "usa => usa, america, american\nursa => usa, america, american" appears 2 times in the file. 164
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 166
 Warning extension MultipleStringLiteralsExtended The String "captian usa" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "captain america" appears 5 times in the file. 179
 Warning extension MultipleStringLiteralsExtended The String "<em>captain america</em>" appears 2 times in the file. 180
 Warning extension MultipleStringLiteralsExtended The String "captian usw" appears 2 times in the file. 183
 Warning extension MultipleStringLiteralsExtended The String "body_reverse" appears 4 times in the file. 219
 Warning extension MultipleStringLiteralsExtended The String "american cae" appears 2 times in the file. 251
 Warning extension MultipleStringLiteralsExtended The String "Zorr the Got-Jewel" appears 2 times in the file. 267
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 375

elasticsearch/src/test/java/org/elasticsearch/search/timeout/SearchTimeoutTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 46

elasticsearch/src/test/java/org/elasticsearch/similarity/SimilarityTests.java

Severity Category Rule Message Line
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 37
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 38
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 39
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "similarity" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "the quick brown fox jumped over the lazy dog" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "quick brown fox" appears 2 times in the file. 69

elasticsearch/src/test/java/org/elasticsearch/snapshots/AbstractSnapshotTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Timeout!!!" appears 2 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "test-repo" appears 2 times in the file. 111

elasticsearch/src/test/java/org/elasticsearch/snapshots/DedicatedClusterSnapshotRestoreTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> start 2 nodes" appears 5 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "--> create repository" appears 6 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "test-repo" appears 37 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "fs" appears 7 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "location" appears 10 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "--> start snapshot" appears 3 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "test-snap" appears 13 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "--> restore snapshot" appears 2 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "local" appears 5 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "test-idx" appears 20 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String "before_snapshot_s" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "before_snapshot_s_gw" appears 3 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "before_snapshot_s_gw_noapi" appears 2 times in the file. 165
 Warning extension MultipleStringLiteralsExtended The String "after_snapshot_ns" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String "after_snapshot_ns_gw" appears 3 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "test-repo-2" appears 3 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "Cluster state: {}" appears 2 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "number_of_shards" appears 7 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "number_of_replicas" appears 7 times in the file. 280
 Warning extension MultipleStringLiteralsExtended The String "--> indexing some data" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 6 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 6 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 6 times in the file. 285
 Warning extension MultipleStringLiteralsExtended The String "--> creating repository" appears 3 times in the file. 291
 Warning extension MultipleStringLiteralsExtended The String "random" appears 2 times in the file. 296
 Warning extension MultipleStringLiteralsExtended The String "wait_after_unblock" appears 2 times in the file. 297
 Warning extension MultipleStringLiteralsExtended The String "--> snapshot" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "--> waiting for block to kick in" appears 2 times in the file. 307
 Warning extension MultipleStringLiteralsExtended The String "--> stopping node" appears 2 times in the file. 313
 Warning extension MultipleStringLiteralsExtended The String "--> done" appears 3 times in the file. 318
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 368
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 387
 Warning extension MultipleStringLiteralsExtended The String "--> create an index that will have some unallocated shards" appears 2 times in the file. 389
 Warning extension MultipleStringLiteralsExtended The String "test-idx-some" appears 8 times in the file. 390
 Warning extension MultipleStringLiteralsExtended The String "1m" appears 2 times in the file. 403
 Warning extension MultipleStringLiteralsExtended The String "test-idx-all" appears 7 times in the file. 406
 Warning extension MultipleStringLiteralsExtended The String "test-idx-none" appears 3 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "test-snap-1" appears 3 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "test-snap-2" appears 10 times in the file. 435
 Warning extension MultipleStringLiteralsExtended The String "State: [{}], Reason: [{}]" appears 2 times in the file. 452
 Warning extension ForbidAnnotation Incorrect target: 'METHOD_DEF' for annotation: 'Ignore'. 597
 Warning extension MultipleStringLiteralsExtended The String "test-" appears 2 times in the file. 617
 Warning extension MultipleStringLiteralsExtended The String "test-async-" appears 2 times in the file. 633
 Warning extension MultipleStringLiteralsExtended The String "test-*" appears 2 times in the file. 643
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 687
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 692
 Warning extension MultipleStringLiteralsExtended The String "data" appears 2 times in the file. 783

elasticsearch/src/test/java/org/elasticsearch/snapshots/RepositoriesTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> creating repository" appears 3 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "test-repo-1" appears 18 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "fs" appears 8 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "location" appears 8 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "test-repo-2" appears 8 times in the file. 81
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 130
 Warning extension MultipleStringLiteralsExtended The String "compress" appears 2 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "chunk_size" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "0s" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String "random_control_io_exception_rate" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "--> creating repository that cannot write any files - should fail" appears 2 times in the file. 176
 Warning extension MultipleStringLiteralsExtended The String "--> creating repository that cannot write any files, but suppress verification - should be acked" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "--> verifying repository" appears 2 times in the file. 185
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 191
 Warning extension MultipleStringLiteralsExtended The String "localize_location" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "RepositoryVerificationException wasn't generated" appears 2 times in the file. 198
 Warning extension MultipleStringLiteralsExtended The String "is not shared" appears 2 times in the file. 200
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 226

elasticsearch/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> creating repository" appears 26 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "test-repo" appears 149 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String "fs" appears 28 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "location" appears 37 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "compress" appears 14 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "chunk_size" appears 14 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "test-idx-1" appears 40 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "test-idx-2" appears 32 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "test-idx-3" appears 17 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "--> indexing some data" appears 17 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 31 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 32 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 28 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 6 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "--> snapshot" appears 20 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "test-snap" appears 68 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "test-idx-*" appears 7 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "--> close indices" appears 2 times in the file. 140
 Warning extension MultipleStringLiteralsExtended The String "--> restore all indices from the snapshot" appears 3 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "--> delete indices" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "test" appears 24 times in the file. 231
 Warning extension MultipleStringLiteralsExtended The String "--> close index" appears 2 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String " vs. " appears 2 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "--> restore indices with different names" appears 3 times in the file. 260
 Warning extension MultipleStringLiteralsExtended The String "(.+)" appears 4 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "$1-copy" appears 4 times in the file. 262
 Warning extension MultipleStringLiteralsExtended The String "test-copy" appears 2 times in the file. 265
 Warning extension MultipleStringLiteralsExtended The String "test-idx" appears 127 times in the file. 281
 Warning extension MultipleStringLiteralsExtended The String "refresh_interval" appears 3 times in the file. 282
 Warning extension MultipleStringLiteralsExtended The String "type=string" appears 2 times in the file. 286
 Warning extension MultipleStringLiteralsExtended The String "--> snapshot it" appears 2 times in the file. 289
 Warning extension MultipleStringLiteralsExtended The String "alias-123" appears 9 times in the file. 349
 Warning extension MultipleStringLiteralsExtended The String "alias-1" appears 6 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "alias-3" appears 4 times in the file. 373
 Warning extension MultipleStringLiteralsExtended The String "--> creating test template" appears 2 times in the file. 399
 Warning extension MultipleStringLiteralsExtended The String "test-template" appears 12 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "te*" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "test-mapping" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "{}" appears 2 times in the file. 400
 Warning extension MultipleStringLiteralsExtended The String "--> delete test template" appears 2 times in the file. 408
 Warning extension MultipleStringLiteralsExtended The String "--> restore cluster state" appears 2 times in the file. 413
 Warning extension MultipleStringLiteralsExtended The String "--> check that template is restored" appears 2 times in the file. 418
 Warning extension MultipleStringLiteralsExtended The String "test-snap-no-global-state" appears 3 times in the file. 437
 Warning extension MultipleStringLiteralsExtended The String "test-snap-with-global-state" appears 3 times in the file. 443
 Warning extension MultipleStringLiteralsExtended The String "test-snap-no-global-state-with-index" appears 3 times in the file. 480
 Warning extension MultipleStringLiteralsExtended The String "random" appears 7 times in the file. 512
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 527
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 548
 Warning extension MultipleStringLiteralsExtended The String "random_data_file_io_exception_rate" appears 3 times in the file. 563
 Warning extension MultipleStringLiteralsExtended The String "--> update repository with mock version" appears 2 times in the file. 644
 Warning extension MultipleStringLiteralsExtended The String "--> delete index" appears 8 times in the file. 653
 Warning extension MultipleStringLiteralsExtended The String "--> restore index after deletion" appears 3 times in the file. 655
 Warning extension MultipleStringLiteralsExtended The String "--> creating repository at " appears 4 times in the file. 753
 Warning extension MultipleStringLiteralsExtended The String "test-snap-" appears 3 times in the file. 771
 Warning extension MultipleStringLiteralsExtended The String "--> restore index" appears 4 times in the file. 792
 Warning extension MultipleStringLiteralsExtended The String "--> creating snapshot" appears 3 times in the file. 824
 Warning extension MultipleStringLiteralsExtended The String "test-snap-1" appears 11 times in the file. 825
 Warning extension MultipleStringLiteralsExtended The String "--> delete index metadata and shard metadata" appears 2 times in the file. 829
 Warning extension MultipleStringLiteralsExtended The String "0" appears 3 times in the file. 833
 Warning extension MultipleStringLiteralsExtended The String "snapshot-test-snap-1" appears 3 times in the file. 834
 Warning extension MultipleStringLiteralsExtended The String "--> delete snapshot" appears 4 times in the file. 837
 Warning extension MultipleStringLiteralsExtended The String "--> make sure snapshot doesn't exist" appears 3 times in the file. 840
 Warning extension MultipleStringLiteralsExtended The String "test-idx-closed" appears 4 times in the file. 930
 Warning extension MultipleStringLiteralsExtended The String "alias-2" appears 2 times in the file. 982
 Warning extension MultipleStringLiteralsExtended The String "test-idx-1-copy" appears 4 times in the file. 1005
 Warning extension MultipleStringLiteralsExtended The String "test-idx-2-copy" appears 5 times in the file. 1006
 Warning extension MultipleStringLiteralsExtended The String "--> try renaming indices using the same name" appears 2 times in the file. 1031
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1032
 Warning extension MultipleStringLiteralsExtended The String "Shouldn't be here" appears 6 times in the file. 1034
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1040
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1048
 Warning extension MultipleStringLiteralsExtended The String ".+" appears 2 times in the file. 1049
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1056
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1064
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 2 times in the file. 1065
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1072
 Warning extension MultipleStringLiteralsExtended The String "wait_after_unblock" appears 3 times in the file. 1098
 Warning extension MultipleStringLiteralsExtended The String "number_of_replicas" appears 4 times in the file. 1101
 Warning extension MultipleStringLiteralsExtended The String "--> waiting for block to kick in" appears 3 times in the file. 1116
 Warning extension MultipleStringLiteralsExtended The String "--> unblocking blocked node" appears 3 times in the file. 1123
 Warning extension MultipleStringLiteralsExtended The String "--> waiting for completion" appears 2 times in the file. 1125
 Warning extension MultipleStringLiteralsExtended The String "Number of failed shards [{}]" appears 3 times in the file. 1127
 Warning extension MultipleStringLiteralsExtended The String "--> done" appears 4 times in the file. 1128
 Warning extension MultipleStringLiteralsExtended The String "--> replace mock repository with real one at the same location" appears 2 times in the file. 1139
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1185
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1188
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1193
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1198
 Warning extension MultipleStringLiteralsExtended The String "url-repo" appears 4 times in the file. 1266
 Warning extension MultipleStringLiteralsExtended The String "url" appears 2 times in the file. 1267
 Warning extension MultipleStringLiteralsExtended The String "0.5k" appears 2 times in the file. 1304
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 1434
 Warning extension MultipleStringLiteralsExtended The String "test-1" appears 3 times in the file. 1527
 Warning extension MultipleStringLiteralsExtended The String "test-2" appears 3 times in the file. 1540
 Warning extension MultipleStringLiteralsExtended The String "10s" appears 2 times in the file. 1569
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.analyzer.my_analyzer.type" appears 3 times in the file. 1570
 Warning extension MultipleStringLiteralsExtended The String "standard" appears 3 times in the file. 1571
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.filter.my_synonym.type" appears 2 times in the file. 1573
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 2 times in the file. 1579
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 8 times in the file. 1579
 Warning extension MultipleStringLiteralsExtended The String "5s" appears 3 times in the file. 1600
 Warning extension MultipleStringLiteralsExtended The String "index.analysis.*" appears 2 times in the file. 1612
 Warning extension MultipleStringLiteralsExtended The String "--> restore index with correct settings from the snapshot" appears 2 times in the file. 1616
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1700
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 1706
 Warning extension MultipleStringLiteralsExtended The String "unknown-node" appears 3 times in the file. 1743

elasticsearch/src/test/java/org/elasticsearch/snapshots/SnapshotBackwardsCompatibilityTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "--> creating repository" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test-repo" appears 17 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "fs" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "location" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "compress" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "chunk_size" appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "{ \"foo\" : \"bar\" } " appears 2 times in the file. 79
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "test-snap-1" appears 3 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "index_before_*" appears 2 times in the file. 94
 Warning extension MultipleStringLiteralsExtended The String "none" appears 2 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String "all" appears 2 times in the file. 126
 Warning extension MultipleStringLiteralsExtended The String "test-snap-2" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String "test" appears 14 times in the file. 174
 Warning extension MultipleStringLiteralsExtended The String "doc" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "indices/test/0" appears 2 times in the file. 222
 Warning extension MultipleStringLiteralsExtended The String "test-1" appears 3 times in the file. 223
 Warning extension MultipleStringLiteralsExtended The String "test-2" appears 3 times in the file. 237

elasticsearch/src/test/java/org/elasticsearch/snapshots/SnapshotUtilsTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 34
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 23 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 21 times in the file. 34
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 19 times in the file. 34
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 34
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 34
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 35
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 35
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 35
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 36
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 36
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 36
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 37
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 38
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 38
 Warning extension MultipleStringLiteralsExtended The String "ba*" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "-bar" appears 2 times in the file. 38
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 38
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 39
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 40
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 41
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 41
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 41
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 42
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 42
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 42
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 43
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 43
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 43
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 44
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 45

elasticsearch/src/test/java/org/elasticsearch/snapshots/mockstore/MockRepository.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 59
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 61
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 63
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 65
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 67
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 69
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 71
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 73
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 75
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 77
 Warning extension MultipleStringLiteralsExtended The String "location" appears 2 times in the file. 110
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 187
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 201
 Warning extension MultipleStringLiteralsExtended The String "cannot calculate hashcode" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "throwing random IOException for file [{}] at path [{}]" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "Random IOException" appears 2 times in the file. 229
 Warning extension MultipleStringLiteralsExtended The String "blocking I/O operation for file [{}] at path [{}]" appears 2 times in the file. 231
 Warning extension LogicConditionNeedOptimization Condition with && at line 232 position 45 need optimization. All method calls are advised to move to end of logic expression. 232
 Warning extension LogicConditionNeedOptimization Condition with && at line 249 position 45 need optimization. All method calls are advised to move to end of logic expression. 249
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 263

elasticsearch/src/test/java/org/elasticsearch/snapshots/mockstore/MockRepositoryModule.java

Severity Category Rule Message Line
 Warning extension UselessSuperCtorCall Redundant super constructor call could be removed. Class 'MockRepositoryModule' has superclass. Java compiler automatically inserts a call to the no-argument constructor of the superclass. 32

elasticsearch/src/test/java/org/elasticsearch/stresstest/client/ClientFailover.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "localhost" appears 3 times in the file. 43
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 57
 Warning extension MultipleStringLiteralsExtended The String "timed out on health" appears 2 times in the file. 72

elasticsearch/src/test/java/org/elasticsearch/stresstest/fullrestart/FullRestartStressTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 130
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 131
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 142
 Warning extension MultipleStringLiteralsExtended The String "index_count [{}], expected_count [{}]" appears 2 times in the file. 151
 Warning extension MultipleStringLiteralsExtended The String "failed test, count does not match..." appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 161
 Warning extension MoveVariableInsideIf Variable 'nodeDatas' can be moved inside the block at line '202' to restrict runtime creation. 200
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 2 times in the file. 202
 Warning extension MultipleStringLiteralsExtended The String "local" appears 2 times in the file. 202

elasticsearch/src/test/java/org/elasticsearch/stresstest/gcbehavior/FilterCacheGcStress.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 54
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 65

elasticsearch/src/test/java/org/elasticsearch/stresstest/get/GetStressTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 2 times in the file. 69

elasticsearch/src/test/java/org/elasticsearch/stresstest/get/MGetStress1.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "test" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/stresstest/indexing/ConcurrentIndexingVersioningStressTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 5 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "[" appears 4 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 88
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 94
 Warning extension MultipleStringLiteralsExtended The String "] FAIL, EXISTED, and NOT_EXISTED" appears 2 times in the file. 97

elasticsearch/src/test/java/org/elasticsearch/stresstest/manyindices/ManyIndicesRemoteStressTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index_" appears 2 times in the file. 59

elasticsearch/src/test/java/org/elasticsearch/stresstest/manyindices/ManyIndicesStressTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index_" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "closing node..." appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "node closed" appears 2 times in the file. 67

elasticsearch/src/test/java/org/elasticsearch/stresstest/manyindices/ManyNodesManyIndicesRecoveryStressTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "node" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "index_" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 71

elasticsearch/src/test/java/org/elasticsearch/stresstest/refresh/RefreshStressTest1.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "testCluster" appears 2 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "node.name" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "none" appears 2 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "index.number_of_shards" appears 2 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "name" appears 4 times in the file. 65

elasticsearch/src/test/java/org/elasticsearch/stresstest/rollingrestart/QuickRollingRestartStressTest.java

Severity Category Rule Message Line
 Warning extension MoveVariableInsideIf Variable 'random' can be moved inside the block at line '62' to restrict runtime creation. 43
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "10m" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "]" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "], expected [" appears 2 times in the file. 75

elasticsearch/src/test/java/org/elasticsearch/stresstest/rollingrestart/RollingRestartStressTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 149
 Warning extension MoveVariableInsideIf Variable 'nodeData' can be moved inside the block at line '175' to restrict runtime creation. 173
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 182
 Warning extension MultipleStringLiteralsExtended The String "10m" appears 2 times in the file. 184
 Warning extension MultipleStringLiteralsExtended The String "timed out waiting for green status...." appears 2 times in the file. 186
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 188
 Warning extension MultipleStringLiteralsExtended The String "failed to execute cluster health...." appears 2 times in the file. 189
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 199
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 205
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 310

elasticsearch/src/test/java/org/elasticsearch/stresstest/search1/ConcurrentSearchSerializationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "field" appears 2 times in the file. 61
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 94

elasticsearch/src/test/java/org/elasticsearch/stresstest/search1/ParentChildStressTest.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 177 position 33 need optimization. All method calls are advised to move to end of logic expression. 177
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 231

elasticsearch/src/test/java/org/elasticsearch/stresstest/search1/Search1StressTest.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "num" appears 3 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "field" appears 4 times in the file. 196
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 215
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 238
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 260
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 282

elasticsearch/src/test/java/org/elasticsearch/test/BackgroundIndexer.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 134
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 172

elasticsearch/src/test/java/org/elasticsearch/test/CompositeTestCluster.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "index.routing.allocation.exclude._name" appears 2 times in the file. 189

elasticsearch/src/test/java/org/elasticsearch/test/ElasticsearchAllocationTestCase.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 84

elasticsearch/src/test/java/org/elasticsearch/test/ElasticsearchIntegrationTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 249
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 254
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "_default_" appears 2 times in the file. 338
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "not_analyzed" appears 2 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "no" appears 2 times in the file. 341
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 2 times in the file. 351
 Warning extension MultipleStringLiteralsExtended The String "fielddata" appears 6 times in the file. 352
 Warning extension MultipleStringLiteralsExtended The String "array" appears 5 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "doc_values" appears 7 times in the file. 353
 Warning extension MultipleStringLiteralsExtended The String "paged_bytes" appears 3 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "fst" appears 3 times in the file. 375
 Warning extension MultipleStringLiteralsExtended The String "match_mapping_type" appears 4 times in the file. 382
 Warning extension MultipleStringLiteralsExtended The String "mapping" appears 4 times in the file. 383
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 504
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around return value. 697
 Warning extension MultipleStringLiteralsExtended The String "field " appears 2 times in the file. 924
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 946
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 947
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 2 times in the file. 947
 Warning extension MultipleStringLiteralsExtended The String "[_all]" appears 3 times in the file. 1005
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1113
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1305
 Warning extension LogicConditionNeedOptimization Condition with && at line 1,361 position 56 need optimization. All method calls are advised to move to end of logic expression. 1361
 Warning extension TernaryPerExpressionCount More than 1 ternary operators in expression. 1379
 Warning extension ReturnBooleanFromTernary Returning explicit boolean from ternary operator. 1379
 Warning extension MultipleStringLiteralsExtended The String "Index [{}] docs async: [{}] bulk: [{}]" appears 2 times in the file. 1381
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1433
 Warning extension MultipleStringLiteralsExtended The String "1b" appears 2 times in the file. 1649
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 1676
 Warning extension ReturnCountExtended Return count for 'buildTestCluster' method is 2 (max allowed is 1). 1682
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 1902
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1934
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1941
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1943
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1944
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1960

elasticsearch/src/test/java/org/elasticsearch/test/ElasticsearchTestCase.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 78
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 80
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 89
 Warning extension LogicConditionNeedOptimization Condition with && at line 94 position 110 need optimization. All method calls are advised to move to end of logic expression. 94
 Warning extension ReturnCountExtended Return count for 'assertBusy' method is 2 (max allowed is 1). 136
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 187
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 187
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 268
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 280
 Warning extension MultipleStringLiteralsExtended The String "] does not exist." appears 2 times in the file. 371
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 457
 Warning extension AvoidNotShortCircuitOperatorsForBoolean Short-circuit operator should be used instead of '&='. 533

elasticsearch/src/test/java/org/elasticsearch/test/ExternalNode.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "config.ignore_system_properties" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "node.mode" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "gateway.type" appears 2 times in the file. 58
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 99
 Warning extension MultipleStringLiteralsExtended The String "Node has not started yet" appears 3 times in the file. 184

elasticsearch/src/test/java/org/elasticsearch/test/ExternalTestCluster.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 56

elasticsearch/src/test/java/org/elasticsearch/test/InternalTestCluster.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 145
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 150
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 163
 Warning extension MultipleStringLiteralsExtended The String "-" appears 2 times in the file. 267
 Warning extension MultipleStringLiteralsExtended The String "config.ignore_system_properties" appears 2 times in the file. 269
 Warning extension MultipleStringLiteralsExtended The String "node.mode" appears 4 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String "plugins." appears 2 times in the file. 273
 Warning extension MultipleStringLiteralsExtended The String "es.logger.level" appears 2 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "logger.level" appears 3 times in the file. 276
 Warning extension MultipleStringLiteralsExtended The String "es.logger.prefix" appears 2 times in the file. 278
 Warning extension MultipleStringLiteralsExtended The String "logger.prefix" appears 3 times in the file. 279
 Warning extension MultipleStringLiteralsExtended The String "1b" appears 2 times in the file. 283
 Warning extension MultipleStringLiteralsExtended The String "es.node.mode" appears 4 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "es.node.local" appears 4 times in the file. 303
 Warning extension MultipleStringLiteralsExtended The String "local" appears 3 times in the file. 304
 Warning extension MultipleStringLiteralsExtended The String "node.local" appears 3 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "network" appears 2 times in the file. 315
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 342
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 356
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 423
 Warning extension MultipleStringLiteralsExtended The String "noop" appears 2 times in the file. 427
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 498
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 557
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 579
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 589
 Warning extension MultipleStringLiteralsExtended The String "node.client" appears 2 times in the file. 637
 Warning extension MultipleStringLiteralsExtended The String "already closed" appears 5 times in the file. 727
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 772
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Method(.*)'. 827
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 849
 Warning extension MultipleStringLiteralsExtended The String "Start Shared Node [{}] not shared" appears 2 times in the file. 912
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 960
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 1243
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1294
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 1394
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1688

elasticsearch/src/test/java/org/elasticsearch/test/TestCluster.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 49
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 51
 Warning extension MultipleStringLiteralsExtended The String "_all" appears 2 times in the file. 75
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 167
 Warning extension MultipleStringLiteralsExtended The String "*" appears 2 times in the file. 167
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 186

elasticsearch/src/test/java/org/elasticsearch/test/TestSearchContext.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 232
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 487
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 505

elasticsearch/src/test/java/org/elasticsearch/test/cache/recycler/MockBigArrays.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 75
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 76
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 77
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 79
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 84
 Warning extension MoveVariableInsideIf Variable 'originalSize' can be moved inside the block at line '125' to restrict runtime creation. 117
 Warning extension MoveVariableInsideIf Variable 'originalSize' can be moved inside the block at line '151' to restrict runtime creation. 143
 Warning extension MoveVariableInsideIf Variable 'originalSize' can be moved inside the block at line '177' to restrict runtime creation. 169
 Warning extension MoveVariableInsideIf Variable 'originalSize' can be moved inside the block at line '203' to restrict runtime creation. 195
 Warning extension MoveVariableInsideIf Variable 'originalSize' can be moved inside the block at line '229' to restrict runtime creation. 221

elasticsearch/src/test/java/org/elasticsearch/test/cache/recycler/MockPageCacheRecycler.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 67
 Warning extension CustomDeclarationOrder Constructor definition in wrong order. Expected 'CTOR(.*)' then 'Method(.*)'. 69

elasticsearch/src/test/java/org/elasticsearch/test/cluster/NoopClusterService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "noop_id" appears 2 times in the file. 50
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 131

elasticsearch/src/test/java/org/elasticsearch/test/discovery/ClusterDiscoveryConfiguration.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "local" appears 3 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "node.mode" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "node_" appears 2 times in the file. 131

elasticsearch/src/test/java/org/elasticsearch/test/disruption/IntermittentLongGCDisruption.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 122

elasticsearch/src/test/java/org/elasticsearch/test/disruption/LongGCDisruption.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 34
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(protected)' then 'Field(private)'. 39

elasticsearch/src/test/java/org/elasticsearch/test/disruption/NetworkPartition.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 176 position 65 need optimization. All method calls are advised to move to end of logic expression. 176

elasticsearch/src/test/java/org/elasticsearch/test/disruption/SlowClusterStateProcessing.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'interruptClusterStateProcessing' method is 2 (max allowed is 1). 92
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 157

elasticsearch/src/test/java/org/elasticsearch/test/engine/AssertingSearcher.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "IndexReader#getRefCount() was [" appears 2 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "]" appears 4 times in the file. 57

elasticsearch/src/test/java/org/elasticsearch/test/engine/MockEngineSupport.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 73
 Warning extension LogicConditionNeedOptimization Condition with && at line 126 position 46 need optimization. All method calls are advised to move to end of logic expression. 126
 Warning extension ReturnCountExtended Return count for 'wrapReader' method is 2 (max allowed is 1). 135
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 153

elasticsearch/src/test/java/org/elasticsearch/test/engine/MockInternalEngine.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 65
 Warning extension LogicConditionNeedOptimization Condition with && at line 125 position 46 need optimization. All method calls are advised to move to end of logic expression. 125
 Warning extension ReturnCountExtended Return count for 'wrapReader' method is 2 (max allowed is 1). 138
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 156

elasticsearch/src/test/java/org/elasticsearch/test/engine/MockShadowEngine.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 45
 Warning extension LogicConditionNeedOptimization Condition with && at line 79 position 46 need optimization. All method calls are advised to move to end of logic expression. 79
 Warning extension ReturnCountExtended Return count for 'wrapReader' method is 2 (max allowed is 1). 96
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 114

elasticsearch/src/test/java/org/elasticsearch/test/engine/MockSharedFSEngine.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "Ongoing recoveries after engine close: " appears 2 times in the file. 59

elasticsearch/src/test/java/org/elasticsearch/test/geo/RandomShapeGenerator.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'createShape' method is 5 (max allowed is 1). 148

elasticsearch/src/test/java/org/elasticsearch/test/hamcrest/ElasticsearchAssertions.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 8 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String " Total shards: " appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String " Successful shards: " appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String " & " appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String " shard failures:" appears 2 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "\n " appears 2 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String " but " appears 4 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String " was expected. " appears 3 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String "Count is " appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "Unexpected ShardFailures: " appears 3 times in the file. 243
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 278
 Warning extension MultipleStringLiteralsExtended The String "Expected all shards successful but got successful [" appears 2 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "] total [" appears 2 times in the file. 290
 Warning extension MultipleStringLiteralsExtended The String "not enough hits" appears 2 times in the file. 325
 Warning extension MultipleStringLiteralsExtended The String "Suggest result: " appears 3 times in the file. 344
 Warning extension MultipleStringLiteralsExtended The String ": " appears 2 times in the file. 515
 Warning extension MultipleStringLiteralsExtended The String "expected a " appears 2 times in the file. 516
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 532
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 564
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 582
 Warning extension MultipleStringLiteralsExtended The String "] for streamable [" appears 2 times in the file. 600
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 602
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 617
 Warning extension ForbidCCommentsInMethods C-style comments (/*...*/) inside method body are not allowed. 641
 Warning extension RedundantReturn Redundant return. 651
 Warning extension RedundantReturn Redundant return. 656
 Warning extension MultipleStringLiteralsExtended The String "," appears 2 times in the file. 664
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 764
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 770
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 776
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 782
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 788
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 794

elasticsearch/src/test/java/org/elasticsearch/test/hamcrest/ElasticsearchGeoAssertions.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'fixedOrderedRing' method is 3 (max allowed is 1). 86
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 93
 Warning extension MultipleStringLiteralsExtended The String " but found " appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "equality of shape types not supported [" appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String " and " appears 2 times in the file. 181
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 181
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 223
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 227
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 231
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 235
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 256
 Warning extension UnnecessaryParenthesesExtended Unnecessary parentheses around expression. 257

elasticsearch/src/test/java/org/elasticsearch/test/hamcrest/ElasticsearchMatchers.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " was " appears 4 times in the file. 41

elasticsearch/src/test/java/org/elasticsearch/test/junit/listeners/LoggingListener.java

Severity Category Rule Message Line
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 81
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 94
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 116

elasticsearch/src/test/java/org/elasticsearch/test/junit/listeners/ReproduceInfoPrinter.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "\"" appears 4 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String "tests.jvm.argline" appears 4 times in the file. 149

elasticsearch/src/test/java/org/elasticsearch/test/rest/ElasticsearchRestTests.java

Severity Category Rule Message Line
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 135
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 185
 Warning extension NoNullForCollectionReturn Method should return empty collection instead of null. 186
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 186
 Warning extension MultipleStringLiteralsExtended The String "\n- " appears 2 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "/" appears 3 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String "[" appears 3 times in the file. 252

elasticsearch/src/test/java/org/elasticsearch/test/rest/Stash.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 38

elasticsearch/src/test/java/org/elasticsearch/test/rest/client/RestClient.java

Severity Category Rule Message Line
 Warning extension OverridableMethodInConstructor Overridable method 'createHttpClient' is called in constructor body. 63
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 121
 Warning extension MultipleStringLiteralsExtended The String "create" appears 2 times in the file. 161
 Warning extension MultipleStringLiteralsExtended The String "] api" appears 3 times in the file. 175
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 192

elasticsearch/src/test/java/org/elasticsearch/test/rest/client/http/HttpRequestBuilder.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "utf-8" appears 2 times in the file. 49
 Warning extension ReturnCountExtended Return count for 'buildRequest' method is 5 (max allowed is 1). 151
 Warning extension MultipleStringLiteralsExtended The String ":" appears 2 times in the file. 188

elasticsearch/src/test/java/org/elasticsearch/test/rest/json/JsonPath.java

Severity Category Rule Message Line
 Warning extension SingleBreakOrContinue Loops should not contain more than a single "break" or "continue" statement 95

elasticsearch/src/test/java/org/elasticsearch/test/rest/parser/DoSectionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "body" appears 2 times in the file. 59

elasticsearch/src/test/java/org/elasticsearch/test/rest/parser/RestTestSuiteParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 56
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 66

elasticsearch/src/test/java/org/elasticsearch/test/rest/parser/SkipSectionParser.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "features" appears 2 times in the file. 53

elasticsearch/src/test/java/org/elasticsearch/test/rest/section/DoSection.java

Severity Category Rule Message Line
 Warning extension SimpleAccessorNameNotation Unexpected getter name. 58
 Warning extension SimpleAccessorNameNotation Unexpected setter name. 62
 Warning extension MoveVariableInsideIf Variable 'restResponse' can be moved inside the block at line '86' to restrict runtime creation. 85
 Warning extension MultipleStringLiteralsExtended The String "/" appears 4 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "4xx|5xx" appears 3 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "catch value [" appears 2 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "] not supported" appears 2 times in the file. 93
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 112
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 128

elasticsearch/src/test/java/org/elasticsearch/test/rest/section/GreaterThanAssertion.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] is not comparable (got [" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "])" appears 2 times in the file. 46

elasticsearch/src/test/java/org/elasticsearch/test/rest/section/GreaterThanEqualToAssertion.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] is not comparable (got [" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "])" appears 2 times in the file. 46

elasticsearch/src/test/java/org/elasticsearch/test/rest/section/LengthAssertion.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "]" appears 3 times in the file. 47

elasticsearch/src/test/java/org/elasticsearch/test/rest/section/LessThanAssertion.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] is not comparable (got [" appears 2 times in the file. 47
 Warning extension MultipleStringLiteralsExtended The String "])" appears 2 times in the file. 47

elasticsearch/src/test/java/org/elasticsearch/test/rest/section/LessThanOrEqualToAssertion.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "] is not comparable (got [" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "])" appears 2 times in the file. 46

elasticsearch/src/test/java/org/elasticsearch/test/rest/section/MatchAssertion.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/" appears 2 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "field [" appears 3 times in the file. 51

elasticsearch/src/test/java/org/elasticsearch/test/rest/spec/RestApi.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'getSupportedMethods' method is 2 (max allowed is 1). 63

elasticsearch/src/test/java/org/elasticsearch/test/rest/spec/RestApiParser.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 40 position 73 need optimization. All method calls are advised to move to end of logic expression. 40
 Warning extension MultipleStringLiteralsExtended The String "url" appears 2 times in the file. 50
 Warning extension LogicConditionNeedOptimization Condition with || at line 53 position 84 need optimization. All method calls are advised to move to end of logic expression. 53

elasticsearch/src/test/java/org/elasticsearch/test/rest/spec/RestSpec.java

Severity Category Rule Message Line
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 64

elasticsearch/src/test/java/org/elasticsearch/test/rest/support/FileUtils.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "file [" appears 2 times in the file. 50

elasticsearch/src/test/java/org/elasticsearch/test/rest/support/VersionUtils.java

Severity Category Rule Message Line
 Warning extension ReturnCountExtended Return count for 'skipCurrentVersion' method is 3 (max allowed is 1). 51

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/AssertionParsersTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "get.fields._timestamp" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "api" appears 9 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "suite" appears 9 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "docs.1._source" appears 2 times in the file. 49
 Warning extension MultipleStringLiteralsExtended The String "{ field: 3}" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "field" appears 3 times in the file. 68
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 128
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 2 times in the file. 130

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/DoSectionParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "api" appears 14 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "suite" appears 14 times in the file. 50
 Warning extension MultipleStringLiteralsExtended The String "index" appears 7 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "test_index" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "type" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "test_type" appears 2 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "id" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "index:\n" appears 3 times in the file. 82
 Warning extension MultipleStringLiteralsExtended The String " index: test_1\n" appears 2 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String " type: test\n" appears 2 times in the file. 84
 Warning extension MultipleStringLiteralsExtended The String " id: 1\n" appears 2 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "test_1" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 97
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 106
 Warning extension MultipleStringLiteralsExtended The String "bulk:\n" appears 4 times in the file. 113
 Warning extension MultipleStringLiteralsExtended The String " refresh: true\n" appears 4 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String " " appears 6 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String "bulk" appears 4 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "refresh" appears 4 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "true" appears 4 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String " body: \n" appears 2 times in the file. 143
 Warning extension MultipleStringLiteralsExtended The String " body:\n" appears 6 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String " - index:\n" appears 2 times in the file. 192
 Warning extension MultipleStringLiteralsExtended The String " _index: test_index\n" appears 2 times in the file. 193
 Warning extension MultipleStringLiteralsExtended The String " _type: test_type\n" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String " _id: test_id\n" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "{\"index\": {\"_index\": \"test_index\", \"_type\": \"test_type\", \"_id\": \"test_id\"}}" appears 2 times in the file. 206
 Warning extension MultipleStringLiteralsExtended The String "{ \"f1\":\"v1\", \"f2\": 42 }" appears 2 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "{ _source: true, query: { match_all: {} } }" appears 2 times in the file. 310
 Warning extension MultipleStringLiteralsExtended The String "catch: missing\n" appears 2 times in the file. 340
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 356

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/FileUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "/rest-api-spec/test" appears 8 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String "get" appears 17 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "10_basic.yaml" appears 6 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "get/10_basic" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "index" appears 6 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "indices.optimize" appears 4 times in the file. 71

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/JsonPathTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 7 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "{ \"field1\": { \"field2\" : \"value2\" } }" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "field1.field2" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "{ \"field1\": { \"array1\" : [ \"value1\", \"value2\" ] } }" appears 2 times in the file. 90
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "{ \"field1\": { \"array1\" : [ {\"element\": \"value1\"}, {\"element\":\"value2\"} ] } }" appears 3 times in the file. 113
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 156
 Warning extension MultipleStringLiteralsExtended The String "field1.$placeholder.element1" appears 2 times in the file. 157

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/RestApiParserFailingTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 58
 Warning extension MultipleStringLiteralsExtended The String "{\n" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String " \"ping\": {" appears 2 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String " \"documentation\": \"http://www.elasticsearch.org/guide/\"," appears 2 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String " \"methods\": [\"HEAD\"]," appears 2 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String " \"url\": {" appears 2 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String " \"path\": \"/\"," appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String " \"paths\": [\"/\"]," appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String " \"parts\": {" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String " }," appears 2 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String " }," appears 2 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String " \"body\": null" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String " }" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "}" appears 2 times in the file. 74
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 77
 Warning extension MultipleStringLiteralsExtended The String " \"type\" : \"boolean\",\n" appears 2 times in the file. 85

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/RestApiParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "index" appears 3 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String "POST" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "type" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "GET" appears 2 times in the file. 62
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 95
 Warning extension MultipleStringLiteralsExtended The String "{\n" appears 3 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String " \"url\": {\n" appears 3 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String " \"parts\": {\n" appears 3 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String " \"index\": {\n" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String " \"type\" : \"list\",\n" appears 2 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String " },\n" appears 6 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String " \"type\": {\n" appears 2 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 4 times in the file. 110
 Warning extension MultipleStringLiteralsExtended The String " },\n" appears 2 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String " \"params\": {\n" appears 3 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String " \"type\" : \"boolean\",\n" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 3 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String " },\n" appears 3 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String " \"body\": {\n" appears 2 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String " }\n" appears 3 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "}\n" appears 2 times in the file. 123
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 125
 Warning extension MultipleStringLiteralsExtended The String " \"type\" : \"string\",\n" appears 5 times in the file. 134
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 146
 Warning extension MultipleStringLiteralsExtended The String " \"required\" : true,\n" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String " \"type\" : \"enum\",\n" appears 2 times in the file. 171

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/RestTestParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " - do:\n" appears 9 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 21 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "---\n" appears 7 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String " indices.get_mapping:\n" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String " index: test_index\n" appears 2 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "api" appears 4 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "suite" appears 7 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "index" appears 4 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "test_index" appears 3 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "indices.get_mapping" appears 2 times in the file. 106
 Warning extension MultipleStringLiteralsExtended The String "string" appears 2 times in the file. 112
 Warning extension MultipleStringLiteralsExtended The String "whitespace" appears 2 times in the file. 116
 Warning extension MultipleStringLiteralsExtended The String " - do:\n" appears 2 times in the file. 145
 Warning extension MultipleStringLiteralsExtended The String " index: test-weird-index-中文\n" appears 2 times in the file. 147
 Warning extension MultipleStringLiteralsExtended The String " type: weird.type\n" appears 2 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String " id: 1\n" appears 7 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String " - match: { _index: test-weird-index-中文 }\n" appears 2 times in the file. 153
 Warning extension MultipleStringLiteralsExtended The String " - match: { _type: weird.type }\n" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String " - match: { _id: \"1\"}\n" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String " - match: { _version: 1}\n" appears 2 times in the file. 156
 Warning extension MultipleStringLiteralsExtended The String "_index" appears 2 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "test-weird-index-中文" appears 2 times in the file. 196
 Warning extension MultipleStringLiteralsExtended The String "_type" appears 2 times in the file. 199
 Warning extension MultipleStringLiteralsExtended The String "weird.type" appears 2 times in the file. 200
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 203
 Warning extension MultipleStringLiteralsExtended The String "1" appears 4 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "_version" appears 2 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String " catch: missing\n" appears 4 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String " update:\n" appears 6 times in the file. 246
 Warning extension MultipleStringLiteralsExtended The String " index: test_1\n" appears 5 times in the file. 247
 Warning extension MultipleStringLiteralsExtended The String " type: test\n" appears 5 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String " body: { doc: { foo: bar } }\n" appears 2 times in the file. 250
 Warning extension MultipleStringLiteralsExtended The String " ignore: 404\n" appears 2 times in the file. 258
 Warning extension MultipleStringLiteralsExtended The String "\"Missing document (script)\":\n" appears 3 times in the file. 261
 Warning extension MultipleStringLiteralsExtended The String " body:\n" appears 3 times in the file. 270
 Warning extension MultipleStringLiteralsExtended The String " script: \"ctx._source.foo = bar\"\n" appears 2 times in the file. 271
 Warning extension MultipleStringLiteralsExtended The String " params: { bar: 'xxx' }\n" appears 2 times in the file. 272
 Warning extension MultipleStringLiteralsExtended The String "missing" appears 2 times in the file. 301
 Warning extension MultipleStringLiteralsExtended The String "update" appears 4 times in the file. 302
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 330

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/SetSectionParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "api" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "suite" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "_id" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "id" appears 2 times in the file. 46
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 67

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/SetupSectionParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String " - do:\n" appears 4 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String " index1:\n" appears 2 times in the file. 37
 Warning extension MultipleStringLiteralsExtended The String " index: test_1\n" appears 4 times in the file. 38
 Warning extension MultipleStringLiteralsExtended The String " type: test\n" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String " id: 1\n" appears 2 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String " body: { \"include\": { \"field1\": \"v1\", \"field2\": \"v2\" }, \"count\": 1 }\n" appears 4 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String " index2:\n" appears 2 times in the file. 43
 Warning extension MultipleStringLiteralsExtended The String " id: 2\n" appears 2 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "api" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "suite" appears 2 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "index1" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "index2" appears 2 times in the file. 57

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/SkipSectionParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "version: \"0 - 0.90.2\"\n" appears 3 times in the file. 35
 Warning extension MultipleStringLiteralsExtended The String "reason: Delete ignores the parent param" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "api" appears 6 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "suite" appears 6 times in the file. 41
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 85
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 98
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 108

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/TestSectionParserTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "\"First test section\": \n" appears 2 times in the file. 36
 Warning extension MultipleStringLiteralsExtended The String "api" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "suite" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "First test section" appears 2 times in the file. 48
 Warning extension MultipleStringLiteralsExtended The String "missing" appears 2 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "indices.get_warmer" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "\"Basic\":\n" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "\n" appears 6 times in the file. 99
 Warning extension MultipleStringLiteralsExtended The String " - do:\n" appears 6 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String " index:\n" appears 2 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String " index: test_1\n" appears 5 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String " type: test\n" appears 4 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String " id: 中文\n" appears 4 times in the file. 104
 Warning extension MultipleStringLiteralsExtended The String " body: { \"foo\": \"Hello: 中文\" }\n" appears 2 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String " get:\n" appears 3 times in the file. 107
 Warning extension MultipleStringLiteralsExtended The String "Basic" appears 2 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 123
 Warning extension MultipleStringLiteralsExtended The String "get" appears 3 times in the file. 129
 Warning extension MultipleStringLiteralsExtended The String "_index" appears 2 times in the file. 190
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 2 times in the file. 194
 Warning extension MultipleStringLiteralsExtended The String "size" appears 2 times in the file. 219

elasticsearch/src/test/java/org/elasticsearch/test/rest/test/VersionUtilsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "0.90.6" appears 2 times in the file. 33
 Warning extension MultipleStringLiteralsExtended The String "1.0.0" appears 6 times in the file. 63
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 82
 Warning extension MultipleStringLiteralsExtended The String "0.90.2 - 0.90.6" appears 7 times in the file. 93
 Warning extension MultipleStringLiteralsExtended The String "0.90.15" appears 2 times in the file. 102
 Warning extension MultipleStringLiteralsExtended The String "0 - 999" appears 3 times in the file. 105
 Warning extension MultipleStringLiteralsExtended The String "0.90.9 - 999" appears 2 times in the file. 109
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 112

elasticsearch/src/test/java/org/elasticsearch/test/store/MockFSDirectoryService.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 64
 Warning extension LogicConditionNeedOptimization Condition with && at line 103 position 44 need optimization. All method calls are advised to move to end of logic expression. 103
 Warning extension LogicConditionNeedOptimization Condition with && at line 103 position 66 need optimization. All method calls are advised to move to end of logic expression. 103
 Warning extension OverridableMethodInConstructor Overridable method 'checkIndex' is called in constructor body. 105
 Warning extension ConfusingCondition Avoid negation within an "if" expression with an "else" clause. 142
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 154

elasticsearch/src/test/java/org/elasticsearch/test/test/InternalTestClusterTests.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with && at line 78 position 58 need optimization. All method calls are advised to move to end of logic expression. 78
 Warning extension MultipleStringLiteralsExtended The String "shared" appears 3 times in the file. 89
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 118

elasticsearch/src/test/java/org/elasticsearch/test/test/LoggingListenerTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "abc" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "xyz" appears 3 times in the file. 46
 Warning extension MultipleStringLiteralsExtended The String "annotatedTestMethod" appears 4 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "TRACE" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "ERROR" appears 7 times in the file. 83
 Warning extension MultipleStringLiteralsExtended The String "annotatedTestMethod2" appears 2 times in the file. 127

elasticsearch/src/test/java/org/elasticsearch/test/transport/MockTransportService.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "DISCONNECT: simulated" appears 3 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "UNRESPONSIVE: simulated" appears 4 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "UNRESPONSIVE: interrupted while sleeping" appears 2 times in the file. 193

elasticsearch/src/test/java/org/elasticsearch/threadpool/SimpleThreadPoolTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "threadpool.search.type" appears 3 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "idx" appears 3 times in the file. 86
 Warning extension MultipleStringLiteralsExtended The String "str_value" appears 2 times in the file. 88
 Warning extension MultipleStringLiteralsExtended The String "s" appears 4 times in the file. 88
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 89
 Warning extension MultipleStringLiteralsExtended The String "l_value" appears 2 times in the file. 90
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 91
 Warning extension WhitespaceBeforeArrayInitializer Array initializer should have whitespace before. 93
 Warning extension MultipleStringLiteralsExtended The String "[" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 115
 Warning extension MultipleStringLiteralsExtended The String "|" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "fixed" appears 3 times in the file. 152

elasticsearch/src/test/java/org/elasticsearch/threadpool/ThreadPoolSerializationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 5 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "search" appears 3 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "queue_size" appears 2 times in the file. 91
 Warning extension MultipleStringLiteralsExtended The String "-1" appears 2 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "index" appears 2 times in the file. 97

elasticsearch/src/test/java/org/elasticsearch/threadpool/UpdateThreadPoolSettingsTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "threadpool.search.type" appears 11 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "cached" appears 10 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "name" appears 5 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "testCachedExecutorType" appears 4 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "same" appears 2 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "scaling" appears 8 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "threadpool.search.keep_alive" appears 5 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "10m" appears 3 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "1m" appears 2 times in the file. 89
 Warning extension MultipleStringLiteralsExtended The String "fixed" appears 8 times in the file. 111
 Warning extension MultipleStringLiteralsExtended The String "threadpool.search.min" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "2" appears 2 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "threadpool.search.size" appears 4 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "15" appears 2 times in the file. 121
 Warning extension MultipleStringLiteralsExtended The String "10" appears 2 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "threadpool.my_pool2.size" appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "1" appears 2 times in the file. 237
 Warning extension MultipleStringLiteralsExtended The String "my_pool1" appears 2 times in the file. 245
 Warning extension MultipleStringLiteralsExtended The String "my_pool2" appears 2 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "Unexpected pool name: " appears 2 times in the file. 261

elasticsearch/src/test/java/org/elasticsearch/timestamp/SimpleTimestampTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 12 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 13 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 20 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 5 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "store" appears 3 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "1" appears 11 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 3 times in the file. 51
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "mytype" appears 2 times in the file. 96

elasticsearch/src/test/java/org/elasticsearch/transport/AbstractSimpleTransportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "name" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "TS_A" appears 3 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "NOTHING" appears 2 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "TS_B" appears 3 times in the file. 75
 Warning extension MultipleStringLiteralsExtended The String "sayHello" appears 16 times in the file. 117
 Warning extension MultipleStringLiteralsExtended The String "moshe" appears 13 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "hello " appears 5 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "hello moshe" appears 6 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "got exception instead of a response: " appears 4 times in the file. 160
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 164
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 167
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 195
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 198
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 252
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 255
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 311
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 314
 Warning extension MultipleStringLiteralsExtended The String "sayHelloException" appears 3 times in the file. 323
 Warning extension MultipleStringLiteralsExtended The String "bad message !!!" appears 5 times in the file. 337
 Warning extension MultipleStringLiteralsExtended The String "got response instead of exception" appears 5 times in the file. 355
 Warning extension MultipleStringLiteralsExtended The String "exception should be thrown" appears 9 times in the file. 366
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 367
 Warning extension MultipleStringLiteralsExtended The String "foobar" appears 2 times in the file. 397
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 415
 Warning extension MultipleStringLiteralsExtended The String "sayHelloTimeoutDelayedResponse" appears 5 times in the file. 429
 Warning extension MultipleStringLiteralsExtended The String "sayHelloTimeoutNoResponse" appears 3 times in the file. 434
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 484
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 549
 Warning extension MultipleStringLiteralsExtended The String "ms" appears 3 times in the file. 558
 Warning extension MultipleStringLiteralsExtended The String "test" appears 5 times in the file. 654
 Warning extension MultipleStringLiteralsExtended The String "testError" appears 4 times in the file. 655
 Warning extension MultipleStringLiteralsExtended The String "didn't see request sent" appears 3 times in the file. 669
 Warning extension MultipleStringLiteralsExtended The String "didn't see request received" appears 4 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "didn't see response sent" appears 2 times in the file. 671
 Warning extension MultipleStringLiteralsExtended The String "didn't see response received" appears 3 times in the file. 672
 Warning extension MultipleStringLiteralsExtended The String "saw error sent" appears 2 times in the file. 673
 Warning extension MultipleStringLiteralsExtended The String "saw response sent" appears 2 times in the file. 681
 Warning extension MultipleStringLiteralsExtended The String "didn't see error sent" appears 2 times in the file. 683
 Warning extension MultipleStringLiteralsExtended The String "/version" appears 8 times in the file. 917
 Warning extension MultipleStringLiteralsExtended The String "DISCONNECT: simulated" appears 2 times in the file. 1166
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1173
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 1242
 Warning extension MultipleStringLiteralsExtended The String "action1" appears 2 times in the file. 1269
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1319
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 1320

elasticsearch/src/test/java/org/elasticsearch/transport/ActionNamesTests.java

Severity Category Rule Message Line
 Warning extension LogicConditionNeedOptimization Condition with || at line 108 position 57 need optimization. All method calls are advised to move to end of logic expression. 108
 Warning extension LogicConditionNeedOptimization Condition with || at line 142 position 57 need optimization. All method calls are advised to move to end of logic expression. 142

elasticsearch/src/test/java/org/elasticsearch/transport/TransportMessageTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "key1" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 39
 Warning extension MultipleStringLiteralsExtended The String "key2" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "value2" appears 4 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "key3" appears 3 times in the file. 41
 Warning extension MultipleStringLiteralsExtended The String "value3" appears 3 times in the file. 41

elasticsearch/src/test/java/org/elasticsearch/transport/netty/KeyedLockTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 78
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 92
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 100
 Warning extension AvoidHidingCauseException Cause exception 'e' was lost. 127

elasticsearch/src/test/java/org/elasticsearch/transport/netty/NettyTransportMultiPortIntegrationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "127.0.0.1" appears 2 times in the file. 54
 Warning extension MultipleStringLiteralsExtended The String "127.0.0.7" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "client1" appears 5 times in the file. 83

elasticsearch/src/test/java/org/elasticsearch/transport/netty/NettyTransportMultiPortTests.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(public)' then 'Field(private)'. 53
 Warning extension MultipleStringLiteralsExtended The String "network.host" appears 5 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "127.0.0.1" appears 7 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "transport.tcp.port" appears 5 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "transport.profiles.default.port" appears 2 times in the file. 63
 Warning extension MultipleStringLiteralsExtended The String "transport.profiles.client1.port" appears 3 times in the file. 64
 Warning extension MultipleStringLiteralsExtended The String "tst" appears 5 times in the file. 67
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 103
 Warning extension MultipleStringLiteralsExtended The String "localhost" appears 2 times in the file. 184

elasticsearch/src/test/java/org/elasticsearch/transport/netty/NettyTransportTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "ERROR" appears 3 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "MY MESSAGE" appears 2 times in the file. 78
 Warning extension MultipleStringLiteralsExtended The String "dispatcher" appears 2 times in the file. 109
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 133
 Warning extension MultipleStringLiteralsExtended The String "Failed to send error message back to client for action [" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "]" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "Actual Exception" appears 2 times in the file. 138
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 175

elasticsearch/src/test/java/org/elasticsearch/transport/netty/SimpleNettyTransportTests.java

Severity Category Rule Message Line
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 46

elasticsearch/src/test/java/org/elasticsearch/tribe/TribeTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "tribe.blocks.write" appears 2 times in the file. 114
 Warning extension MultipleStringLiteralsExtended The String "create 2 indices, test1 on t1, and test2 on t2" appears 5 times in the file. 131
 Warning extension MultipleStringLiteralsExtended The String "test1" appears 27 times in the file. 132
 Warning extension MultipleStringLiteralsExtended The String "test2" appears 27 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "wait till tribe has the same nodes as the 2 clusters" appears 5 times in the file. 141
 Warning extension MultipleStringLiteralsExtended The String "wait till test1 and test2 exists in the tribe node state" appears 5 times in the file. 144
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 11 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 9 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 9 times in the file. 148
 Warning extension MultipleStringLiteralsExtended The String "cluster block should be thrown" appears 5 times in the file. 149
 Warning extension MultipleStringLiteralsExtended The String "block_test1" appears 3 times in the file. 171
 Warning extension MultipleStringLiteralsExtended The String "block_test2" appears 3 times in the file. 173
 Warning extension MultipleStringLiteralsExtended The String "conflict" appears 7 times in the file. 204
 Warning extension MultipleStringLiteralsExtended The String "tribe.on_conflict" appears 2 times in the file. 210
 Warning extension MultipleStringLiteralsExtended The String "t1" appears 4 times in the file. 220
 Warning extension MultipleStringLiteralsExtended The String "t2" appears 4 times in the file. 221
 Warning extension MultipleStringLiteralsExtended The String "verify they are there" appears 2 times in the file. 275
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 4 times in the file. 289
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 370
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 371
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 383
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 384

elasticsearch/src/test/java/org/elasticsearch/tribe/TribeUnitTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "config.ignore_system_properties" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "http.enabled" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "node.mode" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "cluster.name" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "tribe1" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "node.name" appears 3 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "tribe1_node" appears 2 times in the file. 56
 Warning extension MultipleStringLiteralsExtended The String "tribe2" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "tribe2_node" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "es.cluster.name" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "tribe_node_cluster" appears 2 times in the file. 72
 Warning extension MultipleStringLiteralsExtended The String "es.tribe.t1.cluster.name" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "es.tribe.t2.cluster.name" appears 2 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "tribe_node" appears 2 times in the file. 95

elasticsearch/src/test/java/org/elasticsearch/ttl/SimpleTTLTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 28 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 18 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 2 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 5 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "store" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 4 times in the file. 73
 Warning extension MultipleStringLiteralsExtended The String "_ttl" appears 25 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "type2" appears 4 times in the file. 77
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "value1" appears 4 times in the file. 92
 Warning extension MultipleStringLiteralsExtended The String "with_routing" appears 5 times in the file. 95
 Warning extension MultipleStringLiteralsExtended The String "routing" appears 5 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "no_ttl" appears 2 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "default_ttl" appears 2 times in the file. 100

elasticsearch/src/test/java/org/elasticsearch/update/UpdateByNativeScriptTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 52
 Warning extension MultipleStringLiteralsExtended The String "type" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 55
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "SETVALUE" appears 2 times in the file. 58
 Warning extension MultipleStringLiteralsExtended The String "ctx" appears 3 times in the file. 85
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 3 times in the file. 87

elasticsearch/src/test/java/org/elasticsearch/update/UpdateNoopTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 19 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 15 times in the file. 40
 Warning extension MultipleStringLiteralsExtended The String "bir" appears 15 times in the file. 42
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 34 times in the file. 44
 Warning extension MultipleStringLiteralsExtended The String "bort" appears 6 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "for" appears 3 times in the file. 74
 Warning extension MultipleStringLiteralsExtended The String "test" appears 9 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "f" appears 10 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "m" appears 10 times in the file. 119
 Warning extension MultipleStringLiteralsExtended The String "mf1" appears 10 times in the file. 120
 Warning extension MultipleStringLiteralsExtended The String "mf2" appears 10 times in the file. 121

elasticsearch/src/test/java/org/elasticsearch/update/UpdateTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 64 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 3 times in the file. 65
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 59 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "_timestamp" appears 5 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "enabled" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "store" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "yes" appears 6 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "_ttl" appears 9 times in the file. 70
 Warning extension MultipleStringLiteralsExtended The String "1" appears 46 times in the file. 80
 Warning extension MultipleStringLiteralsExtended The String "field" appears 23 times in the file. 81
 Warning extension MultipleStringLiteralsExtended The String "ctx._source.field += 1" appears 11 times in the file. 82
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 84
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 96
 Warning extension MultipleStringLiteralsExtended The String "2" appears 12 times in the file. 101
 Warning extension MultipleStringLiteralsExtended The String "balance" appears 4 times in the file. 122
 Warning extension MultipleStringLiteralsExtended The String "payment" appears 2 times in the file. 124
 Warning extension ForbidCertainMethod Call to 'assertTrue' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 127
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 142
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 10 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 9 times in the file. 157
 Warning extension MultipleStringLiteralsExtended The String "_source" appears 6 times in the file. 159
 Warning extension MultipleStringLiteralsExtended The String "ctx._source.extra = \"foo\"" appears 3 times in the file. 187
 Warning extension MultipleStringLiteralsExtended The String "extra" appears 3 times in the file. 195
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 2 times in the file. 207
 Warning extension MultipleStringLiteralsExtended The String "type" appears 16 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "text" appears 4 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "value" appears 2 times in the file. 215
 Warning extension MultipleStringLiteralsExtended The String "ctx._source.text = 'v2'" appears 6 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "3" appears 6 times in the file. 248
 Warning extension MultipleStringLiteralsExtended The String "{ \"text\": \"v0\" }" appears 2 times in the file. 249
 Warning extension MultipleStringLiteralsExtended The String "v0" appears 2 times in the file. 252
 Warning extension MultipleStringLiteralsExtended The String "4" appears 2 times in the file. 255
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 287
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 300
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 312
 Warning extension MultipleStringLiteralsExtended The String "5" appears 2 times in the file. 317
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 324
 Warning extension ForbidCertainMethod Call to 'assertFalse' method (matches pattern 'assert(True|False)') with '1' arguments (matches pattern '1') is forbidden. 336
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 345
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 359
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 367
 Warning extension MultipleStringLiteralsExtended The String "field2" appears 3 times in the file. 382
 Warning extension MultipleStringLiteralsExtended The String "commonkey" appears 5 times in the file. 401
 Warning extension MultipleStringLiteralsExtended The String "map3" appears 2 times in the file. 402
 Warning extension MultipleStringLiteralsExtended The String "map2" appears 2 times in the file. 403
 Warning extension MultipleStringLiteralsExtended The String "map1" appears 3 times in the file. 405
 Warning extension MultipleStringLiteralsExtended The String "map" appears 3 times in the file. 407
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 429
 Warning extension MultipleStringLiteralsExtended The String "Should have thrown ActionRequestValidationException" appears 2 times in the file. 434
 Warning extension MultipleStringLiteralsExtended The String "can't provide both script and doc" appears 2 times in the file. 437
 Warning extension RequireFailForTryCatchInJunit try/catch either requires a fail at the end of the try clause for junit tests or to remove the try/catch completely. 446
 Warning extension MultipleStringLiteralsExtended The String "doc must be specified if doc_as_upsert is enabled" appears 2 times in the file. 454
 Warning extension MultipleStringLiteralsExtended The String "subtype1" appears 5 times in the file. 465
 Warning extension MultipleStringLiteralsExtended The String "parentId1" appears 4 times in the file. 482
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 4 times in the file. 484
 Warning extension MultipleStringLiteralsExtended The String "content" appears 4 times in the file. 484
 Warning extension MultipleStringLiteralsExtended The String "id1" appears 3 times in the file. 491
 Warning extension MultipleStringLiteralsExtended The String "routing1" appears 3 times in the file. 493
 Warning extension MultipleStringLiteralsExtended The String "delim" appears 2 times in the file. 501
 Warning extension MultipleStringLiteralsExtended The String "_" appears 2 times in the file. 501
 Warning extension MultipleStringLiteralsExtended The String "assert ctx._index == \"test\" : \"index should be \\\"test\\\"\"\n" appears 2 times in the file. 504
 Warning extension MultipleStringLiteralsExtended The String "assert ctx._version == 1 : \"version should be 1\"\n" appears 2 times in the file. 507
 Warning extension MultipleStringLiteralsExtended The String "assert ctx._timestamp == " appears 2 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String " : \"timestamp should be " appears 2 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String "\"\n" appears 2 times in the file. 510
 Warning extension MultipleStringLiteralsExtended The String " : \"ttl should be <= " appears 2 times in the file. 512
 Warning extension MultipleStringLiteralsExtended The String " but was \" + ctx._ttl\n" appears 2 times in the file. 512
 Warning extension MultipleStringLiteralsExtended The String "ctx._source.content = ctx._source.content + delim + ctx._source.content;\n" appears 2 times in the file. 514
 Warning extension MultipleStringLiteralsExtended The String "ctx._source.field1 += 1;\n" appears 2 times in the file. 515
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 586
 Warning extension MultipleStringLiteralsExtended The String "Captured failure on concurrent update:" appears 2 times in the file. 599
 Warning extension MultipleStringLiteralsExtended The String "Got NoNodeException waiting for 1 second for things to recover." appears 2 times in the file. 715
 Warning extension IllegalCatchExtended Catching 'Throwable' is not allowed. 738
 Warning extension MoveVariableInsideIf Variable 'totalFailures' can be moved inside the block at line '813' to restrict runtime creation. 811

elasticsearch/src/test/java/org/elasticsearch/validate/SimpleValidateQueryTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 35 times in the file. 57
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 9 times in the file. 59
 Warning extension MultipleStringLiteralsExtended The String "properties" appears 6 times in the file. 60
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 18 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "type" appears 13 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "string" appears 6 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 7 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "integer" appears 3 times in the file. 62
 Warning extension MultipleStringLiteralsExtended The String "_id:1" appears 2 times in the file. 69
 Warning extension MultipleStringLiteralsExtended The String "baz" appears 4 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "analyzer" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "snowball" appears 2 times in the file. 96
 Warning extension MultipleStringLiteralsExtended The String "pin" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "location" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "geo_point" appears 2 times in the file. 97
 Warning extension MultipleStringLiteralsExtended The String "child-type" appears 3 times in the file. 100
 Warning extension MultipleStringLiteralsExtended The String "Failed to parse" appears 2 times in the file. 118
 Warning extension MultipleStringLiteralsExtended The String "1" appears 9 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "2" appears 5 times in the file. 124
 Warning extension MultipleStringLiteralsExtended The String "3" appears 3 times in the file. 133
 Warning extension MultipleStringLiteralsExtended The String "filtered(filtered(foo:1)->" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "bar:[2 TO 2]" appears 3 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "baz:3" appears 2 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String ")->" appears 3 times in the file. 135
 Warning extension MultipleStringLiteralsExtended The String "pin.location" appears 6 times in the file. 146
 Warning extension MultipleStringLiteralsExtended The String "filtered(ConstantScore(GeoDistanceFilter(pin.location, PLANE, 15.0, 10.0, 20.0)))->" appears 2 times in the file. 160
 Warning extension MultipleStringLiteralsExtended The String ")))->" appears 2 times in the file. 186
 Warning extension ForbidAnnotationElementValue Forbidden element 'expected' in annotation 'Test'. 268
 Warning extension MultipleStringLiteralsExtended The String "field" appears 7 times in the file. 288
 Warning extension MultipleStringLiteralsExtended The String "alias" appears 2 times in the file. 289

elasticsearch/src/test/java/org/elasticsearch/versioning/ConcurrentDocumentOperationTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 4 times in the file. 45
 Warning extension MultipleStringLiteralsExtended The String "type1" appears 3 times in the file. 53
 Warning extension MultipleStringLiteralsExtended The String "1" appears 3 times in the file. 53

elasticsearch/src/test/java/org/elasticsearch/versioning/SimpleVersioningTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 81 times in the file. 61
 Warning extension MultipleStringLiteralsExtended The String "type" appears 66 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "1" appears 55 times in the file. 66
 Warning extension MultipleStringLiteralsExtended The String "field1" appears 31 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "value1_1" appears 25 times in the file. 71
 Warning extension MultipleStringLiteralsExtended The String "value1_2" appears 6 times in the file. 87
 Warning extension MultipleStringLiteralsExtended The String "index.gc_deletes" appears 4 times in the file. 212
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 430
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 445
 Warning extension MultipleStringLiteralsExtended The String "id=" appears 2 times in the file. 471
 Warning extension MultipleStringLiteralsExtended The String " version=" appears 4 times in the file. 473
 Warning extension MultipleStringLiteralsExtended The String " delete?=" appears 2 times in the file. 475
 Warning extension MultipleStringLiteralsExtended The String " index=" appears 2 times in the file. 492
 Warning extension MultipleStringLiteralsExtended The String " id=" appears 2 times in the file. 494
 Warning extension MultipleStringLiteralsExtended The String " type=" appears 2 times in the file. 496
 Warning extension NumericLiteralNeedsUnderscore Numeric literal should have underscores. 587
 Warning extension MultipleStringLiteralsExtended The String "foo" appears 3 times in the file. 670
 Warning extension MultipleStringLiteralsExtended The String "bar" appears 3 times in the file. 670
 Warning extension IllegalCatchExtended Catching 'Exception' is not allowed. 707
 Warning extension MultipleStringLiteralsExtended The String "id" appears 7 times in the file. 775
 Warning extension MultipleStringLiteralsExtended The String "doc should have been deleted" appears 3 times in the file. 797

elasticsearch/src/test/java/org/elasticsearch/watcher/FileWatcherTest.java

Severity Category Rule Message Line
 Warning extension CustomDeclarationOrder Field definition in wrong order. Expected 'Field(private)' then 'Method(.*)'. 52
 Warning extension MultipleStringLiteralsExtended The String "test.txt" appears 3 times in the file. 98
 Warning extension MultipleStringLiteralsExtended The String "Test" appears 2 times in the file. 109
 Warning extension MultipleStringLiteralsExtended The String "test-dir" appears 5 times in the file. 127
 Warning extension MultipleStringLiteralsExtended The String "test0.txt" appears 7 times in the file. 130
 Warning extension MultipleStringLiteralsExtended The String "onDirectoryInit: test-dir/" appears 3 times in the file. 136
 Warning extension MultipleStringLiteralsExtended The String "onFileInit: test-dir/test.txt" appears 2 times in the file. 137
 Warning extension MultipleStringLiteralsExtended The String "onFileCreated: test-dir/test1.txt" appears 2 times in the file. 154
 Warning extension MultipleStringLiteralsExtended The String "onFileCreated: test-dir/test2.txt" appears 2 times in the file. 155
 Warning extension MultipleStringLiteralsExtended The String "test1.txt" appears 5 times in the file. 163
 Warning extension MultipleStringLiteralsExtended The String "test2.txt" appears 2 times in the file. 164
 Warning extension MultipleStringLiteralsExtended The String "onFileDeleted: test-dir/test1.txt" appears 2 times in the file. 168
 Warning extension MultipleStringLiteralsExtended The String "onFileDeleted: test-dir/test2.txt" appears 2 times in the file. 169
 Warning extension MultipleStringLiteralsExtended The String "test4.txt" appears 2 times in the file. 178
 Warning extension MultipleStringLiteralsExtended The String "onFileDeleted: test-dir/test0.txt" appears 2 times in the file. 182
 Warning extension MultipleStringLiteralsExtended The String "sub-dir" appears 2 times in the file. 218
 Warning extension MultipleStringLiteralsExtended The String "onDirectoryInit: test-dir/sub-dir/" appears 2 times in the file. 226
 Warning extension MultipleStringLiteralsExtended The String "onFileInit: test-dir/sub-dir/test0.txt" appears 2 times in the file. 227
 Warning extension MultipleStringLiteralsExtended The String "first-level" appears 2 times in the file. 247

elasticsearch/src/test/java/org/elasticsearch/watcher/ResourceWatcherServiceTests.java

Severity Category Rule Message Line
 Warning extension MultipleStringLiteralsExtended The String "test" appears 2 times in the file. 40